我正在尝试使用Firefox-python-webdriver单击一个按钮
但每次出错时:
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: .pull-right show-toggle with-icon
我是不是漏了什么?在登录和几个步骤后,我在一个页面上,我需要点击下面的类名按钮达到。你知道吗
child = driver.find_element_by_class_name('pull-right show-toggle with-icon')
child.click()
还有别的办法吗?你知道吗
根据提供的
HTML
,您可以使用以下代码单击您的按钮:相关问题 更多 >
编程相关推荐