久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

無法使用 Selenium 和 Python 在 ProtonMail 注冊(cè)頁面的

Unable to type within username field within ProtonMail signup page using Selenium and Python(無法使用 Selenium 和 Python 在 ProtonMail 注冊(cè)頁面的用戶名字段中輸入)
本文介紹了無法使用 Selenium 和 Python 在 ProtonMail 注冊(cè)頁面的用戶名字段中輸入的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

您好,我正在嘗試使用 Selenium 和 Python 為網(wǎng)站

我的代碼如下:

BASE_URL = 'https://mail.protonmail.com/create/new?language=en'driver = webdriver.Chrome(executable_path='./drivers/chromedriver')driver.get(BASE_URL)river.find_element_by_xpath('//*[@id="username"]').send_keys('someStringValue')

執(zhí)行以下代碼后,出現(xiàn)錯(cuò)誤:

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"http://*[@id="username"]"}(會(huì)話信息:chrome=83.0.4103.97)

有什么建議嗎?

解決方案

Email Address 字段位于