Struggling with Web Scraping in Docker using Selenium

0
5
Asked By TechieWizard42 On

I'm trying to set up a Docker environment for web scraping with Selenium. My Dockerfile is based on Python 3.11-slim, and I've included the needed packages. However, when I build the Docker image, it's failing to work as expected. I would really appreciate any help or guidance in resolving this issue!

2 Answers

Answered By CodeNinja99 On

Have you considered using one of the official Selenium base images instead of starting from python:slim? It can save you some hassle and make things a lot easier to set up. Check out the GitHub page for them; it might be what you need!

Answered By DevGuru_77 On

It looks like you're facing a compatibility issue. The error message indicates that the version of ChromeDriver you have only supports Chrome version 114, but your current browser version is 136.0.7103.59. So, you'll need to update either the ChromeDriver or the Chrome version you're using. That should clear things up!

QuickFix123 -

Yes, the error message is pretty clear about the mismatch. Just match your ChromeDriver version with your installed Chrome version to fix it!

HelpMeOutPlz -

Totally! Updating them to compatible versions is definitely the way to go. It should resolve your issue!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.