【发布时间】:2020-02-27 17:21:37
【问题描述】:
试图找到 gmail 用户名的 ID 以发送密钥。使用下面的代码时,python一直返回找不到元素。
chrome.find_element_by_xpath("//*[@id='identifierId']")
HTML 是:
<input type="email" class="whsOnd zHQkBf" jsname="YPqjbf" autocomplete="username" spellcheck="false" tabindex="0" aria-label="Email or phone" name="identifier" value="" autocapitalize="none" id="identifierId" dir="ltr" data-initial-dir="ltr" data-initial-value="">
请帮忙
【问题讨论】:
标签: python selenium-webdriver gmail