Comments (3)
By reading https://github.com/titusfortner/webdrivers/blob/main/spec/webdrivers/geckodriver_spec.rb, I understand that I could potentially pre-download the binary for offline use and that would not trigger the ConnectionError?
from webdrivers.
I workarounded it with ruby -e "require 'webdrivers'; Webdrivers::Geckodriver.update"
in my Dockerfile so that the image has a webdriver binary for gecko for offline use.
from webdrivers.
Hey @noraj, in addition to downloading the driver during Docker build stage, it would also help to pin the version to whatever version is already downloaded. This should do it:
# Set required to currently available version
Webdrivers::Geckodriver.required_version = Webdrivers::Geckodriver. current_version
That will ensure no network calls are attempted to check for or perform an update at run time. Feel free to close this issue if it solves the problem.
from webdrivers.
Related Issues (20)
- GitHub says latest release is v4.5, but lib/webdrivers/version.rb shows 5.0.0 HOT 1
- msedgedriver wrong version for OS being fetched HOT 6
- How to use `/snap/bin/chromium.chromedriver` instead of foreign arch's chromedriver on arm64 ubuntu? HOT 7
- Is it possible to use an alternative Chromium? HOT 1
- msedgedriver not resolved in Linux HOT 1
- Webdrivers::NetworkError, probably due to new chromedriver naming HOT 6
- Use chromedriver provided by electron for linux/arm64 HOT 4
- Fix chromedriver renaming issue for M1 on Selenium 3.x HOT 2
- Support for chromium-chromedriver on ARM64? HOT 3
- Non-deterministic failures running `chromedriver --version` in Github Actions HOT 4
- Webdrivers trying to load a Chrome version that doesn't exist HOT 81
- way to configure "get latest version even if it doesn't match chrome" ? HOT 1
- Latest Google Webdriver update breaking changes HOT 2
- Cannot find Chrome binary HOT 4
- Solution for VCS and WebMock no longer working HOT 5
- Unable to install the latest version of update selenium-webdriver HOT 1
- Chromedriver LATEST_RELEASE_116 Issue HOT 1
- Incorrect architecture detection on M1 Mac arm64 on Chrome 118.0.5993.117 HOT 1
- Document: upgrade path to selenium manager HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webdrivers.