原文:selenium定位下拉框:selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable: Element is not currently

有時候元素定位出錯,顯性等待可以很好解決 presence of element located: 當我們不關心元素是否可見,只關心元素是否存在在頁面中。 visibility of element located: 當我們需要找到元素,並且該元素也可見。 場景:訪問百度,找到右上角設置,點擊下拉中的搜索設置。每頁條數初始是 ,修改每頁條數為 沒加第 行代碼前,一直報錯selenium.commo ...

2020-05-25 13:23 0 841 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM