Closed jwillmer closed 3 weeks ago
@jwillmer, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
I use the following now to get exact version matches so the issue is resolved for me:
RUN npx @puppeteer/browsers install chrome@stable && \
npx @puppeteer/browsers install chromedriver@stable
What happened?
I use selenium in my .NET docker container together with chrome. My Dockerfile downloads the latest stable chrome and tries to find a matching chromedriver. This is usually not possible because chrome is to far ahead so there is a mismatch. However it seams to just work.
Now I switched Selenium Manager to offline mode and the communication fails. I know that Selenium Manager queries something online on my first execution but it is very quick, it definitely does not download a new driver. So I can't use the current chrome/driver combination offline. Since the communication is so quick I wonder why it does not work offline.
I have tried to install the correct chrome version that matches the chrome driver however it is very complicated since chrome does not provide older versions for OS installations. So I need to manually download the installation package. And in the end it fails since it does not include the dependencies for Chrome.
How can we reproduce the issue?
Set
SE_OFFLINE=true