Python Selenium Driver.implicitly_wait(30)
We are using VM for the development and Jenkins as a suite. this morning we had a problem with a Selenium test that never happened before. Before I paste the code, it's important t
Solution 1:
I had the same problem using webdriver.Firefox()
with driver.implicitly_wait(IMPLICIT_WAIT)
and solved it by installing a new version of geckodriver Version 0.19.0 (I had a version from June 2017 before).
Download geckodriver from here: https://github.com/mozilla/geckodriver/releases.
My configuration:
- Firefox 56.0
- Selenium Version: 3.4.3
Check the version of geckodriver in shell:
$ geckodriver -V
geckodriver 0.19.0
By default selenium will use the firefox version that's in your path. To change to another version use:
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
binary = FirefoxBinary(firefox_path='your firefox path', log_file='your logfile path')
driver = webdriver.Firefox(firefox_binary=binary)
Post a Comment for "Python Selenium Driver.implicitly_wait(30)"