【发布时间】:2021-05-07 13:46:15
【问题描述】:
我正在尝试在TradingView 中使用 selenium python 向右滚动
我的代码:
driver.find_element_by_xpath("//div[@class='control-bar__btn control-bar__btn--move-right apply-common-tooltip']").click()
它会抛出一个错误:
selenium.common.exceptions.ElementNotInteractableException:消息: 元素不可交互
【问题讨论】:
-
你能分享文本格式的 HTML 吗?或者我们必须在哪里导航才能找到 向右或向左滚动?
-
@cruisepandey 更新了问题!
标签: python-3.x selenium selenium-webdriver selenium-chromedriver click