Docker + Python + Selenium: The quickest way to start web scraping

<p>Setting up selenium can be tricky business. That&rsquo;s because it depends on (1) what machine you&rsquo;re using, (2) what browser you would like to use Selenium on, (3) the version of the browser, (4) your operating system, and many other considerations. I used to struggle every time I worked with Selenium, spending so much time trying to set it up rather than working on the actual selenium code. That all changed when I started using Docker. This new approach runs a Chrome browser in a Docker container and our Selenium code connects to the container. In this way, it will work every time, on any device, on any operating system. It is also easy to set up, with minimal installation and minimal code. Here&rsquo;s how:</p> <p><a href="https://blog.devgenius.io/docker-python-selenium-the-quickest-way-to-start-web-scraping-6c47248c69c3"><strong>Click Here</strong></a></p>
Tags: web Scraping