【发布时间】:2019-01-17 23:22:53
【问题描述】:
以下链接中的网页截图:
我正在尝试在选择元素中选择一个选项标签,但我收到一条错误消息,提示元素无法滚动到视图中。
selenium.common.exceptions.ElementNotVisibleException: Message: element not interactable: Element is not currently visible and may not be manipulated (Session info: chrome=71.0.3578.98)
代码:
dropdown = Select(driver.find_element_by_id("motes"))
dropdown.select_by_value("ALDERSHOT [Aldershot]")
【问题讨论】:
标签: python selenium selenium-webdriver selenium-chromedriver