Closed vbarnad closed 5 years ago
Though i have webdriver intalled why is it "making a network call to DEBUG Webdrivers Making network call to https://chromedriver.storage.googleapis.com/LATEST_RELEASE_74.0.3729"
2019-05-10 12:17:38 DEBUG Webdrivers Checking current version 2019-05-10 12:17:38 DEBUG Webdrivers /Users/mine/.webdrivers/chromedriver is already downloaded 2019-05-10 12:17:38 DEBUG Webdrivers making System call: /Users/mine/.webdrivers/chromedriver --version 2019-05-10 12:17:38 DEBUG Webdrivers Current version of /Users/mine/.webdrivers/chromedriver is ChromeDriver 74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29})
2019-05-10 12:17:38 DEBUG Webdrivers Browser executable: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
2019-05-10 12:17:38 DEBUG Webdrivers making System call: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version
2019-05-10 12:17:38 DEBUG Webdrivers Browser version: Google Chrome 74.0.3729.131
2019-05-10 12:17:38 WARN Webdrivers Driver caching is turned off in this version, but will be enabled by default in 4.x. Set the value with Webdrivers#cache_time=
in seconds
2019-05-10 12:17:38 DEBUG Webdrivers Browser executable: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
2019-05-10 12:17:38 DEBUG Webdrivers making System call: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version
2019-05-10 12:17:38 DEBUG Webdrivers Browser version: Google Chrome 74.0.3729.131
2019-05-10 12:17:38 DEBUG Webdrivers Making network call to https://chromedriver.storage.googleapis.com/LATEST_RELEASE_74.0.3729
2019-05-10 12:18:38 DEBUG Webdrivers Making network call to https://chromedriver.storage.googleapis.com/LATEST_RELEASE
execution expired (Net::OpenTimeout)
Webdrivers makes the network call to ensure you are using the latest compatible version of the driver. We are following Google's recommendations for how to do that: http://chromedriver.chromium.org/downloads/version-selection
You can avoid network calls entirely by hard coding the driver version you want:
Webdrivers::Chromedriver.required_version = '74.0.3729.6'
This is indeed a bug, though, as it should use the driver on the system if it is compatible. It looks like I added code to the rescue which attempts to provide additional information, but results in a bad loop. Thanks for reporting it.
I am using capybara with ruby.
When i replace the code it does not launch the chrome and i get the error " unable to connect to chromedriver 127.0.0.1:9526 (Selenium::WebDriver::Error::WebDriverError)"
When i set debugger it shows as "DEBUG Webdrivers Looking for Site: https://chromedriver.storage.googleapis.com"