我不斷收到錯誤訊息:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[2]/div/div/div/div[2]/div/div/div/div[2]/div/div/form/input"}
我在這個網站上作業,
uj5u.com熱心網友回復:
嘗試復制“完整 xpath”并將其放置而不是 xpath
search_bar = driver.find_element_by_xpath('
uj5u.com熱心網友回復:
要將字符序列發送到搜索欄位,您需要為
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/369594.html
標籤:Python 硒 路径 css-选择器 网络驱动程序等待
上一篇:如何使用SeleniumChromeDriver和Chrome在自定義位置下載檔案
下一篇:我怎樣才能得到這個Xpath
