【发布时间】:2015-11-01 05:55:08
【问题描述】:
我怎样才能让我的脚本找到这个按钮:
https://gyazo.com/def9d478c923306673da8186187f25c6
它有:
class="button"
type="submit"
accesskey="s"
title="Enter your username and password in the boxes provided to login, or click the 'register' button to create
value = "log in"
我研究了定位选项,但找不到我需要的选项,所以我认为 xpath 应该是正确的选择,但我无法在 xpath 中找到它。
【问题讨论】:
-
尝试先解决您的问题,然后,如果您在此处发帖失败。我看到您在发布一段时间后回答了不止一个问题!
标签: python python-2.7 selenium selenium-webdriver