2
我在Python中使用Selenium Webdriver。我設置的環境條件是 -WebDriverException:缺少'type'參數
蟒蛇2.7.12
硒3.4.2
火狐52.0.2
Geckodriver v.0.13.0
上運行Python腳本下面的代碼行給錯誤
self.driver.implicitly_wait(30)
錯誤消息是WebDriverException:缺少'type'參數。
任何人都可以幫助我在這種情況下?
請升級你的firefox。這現在已經在Firefox 53中解決了。 –
試用GeckoDriver v0.16.1。 – Mahipal
尊敬的@ChandaKorat使用Firefox的升級版本,它在driver.find_element_by_id(「username」)。send_keys(「.....」)這一行中給出錯誤。另外我在爲公司工作,他們的系統環境有firefox v_52.0.2 – user8023364