

This type of code needs to run from a server for many practical reasons, but if you are in-doubt - Web scrapping is a borderline risky task that can get you banned from some sites, so you dont want to get your personal IP banned, user a virtual server for scrapping. We are working with an Ubuntu Virtual Server 20.04 from Digital Ocean. # Pre-RequisitesĪll these steps assume that you are already inside of a virtual server. These expensive stress testing SaaS applications, that charge an arm and a leg typically use this type of coding at some point in the back-end to simulate website traffic. This type of coding is also generally used for performance testing, stress testing a website by simulating multiple instances of real-users visiting the site. Selenium uses a chrome browser and goes through the website like a normal person would, clicking on buttons and links. Traditional scrapping does not work with dynamic sites that load content on the fly. Python and Selenium are really useful for scrapping JS based websites that load dynamically. This guide will show you how to set up an Ubuntu Virtual Private Server (VPS) for web scrapping with Selenium. # Install Chrome Browser and Chromedriver Ubuntu 20.04 If you are using Chrome version 1 10, please download ChromeDriver 1.77 For older version of Chrome, please see below for the version of ChromeDriver that supports it. Is there any kind of framework I can use that dosent require a instance of webdriver. Our system blocks the required files to download when trying to implement that dependency.Īt this point, I’m even willing to use python if there is a way to ignore the webdriver executable jar issue.

Is there any alternative to this ? I tried using webdriverManager but that dependency is not in our dependency library so that’s not a option aswell.

I was planning to use Java with selenium but at this point, this is blocking it from happening. So It’s very difficult to get the automation testing started, our chrome and chrome driver versions are always different. By the time they approve it, a new version of chrome is usually out. This is a lengthy process and is not feasible. So the problem is, our chrome gets auto updated where as we need to ask for permission to download chromeDriver(all drivers in general). We have to request to download whatever we want. So at my current job I’m at a pinch, we can’t just download executable jars and use them.
