Let’s use pip3 to install Selenium for Python 3. If you google about Selenium, a lot of the time you see things about “Selenium server” and blah blah blah - you don’t need that, you aren’t running a huge complex of automated browser testing machines. About Me: Matt Thomas - Full Stack Developer 2 years experience writing automated tests with Selenium. Download latest released version for Chrome or Firefox or Edge. Use this to either create simple scripts or assist in exploratory testing. See Selenium snippets under “But Python can’t find chromedriver” Installing Selenium Selenium IDE is a Chrome, Firefox and Edge plugin which records and plays back user interactions with the browser. If you can’t move chromedriver there, you can always just tell Python where it is when you’re loading it up. The easiest place to put it is in C:\Windows. Now we need to move ChromeDriver somewhere that Python and Selenium will be able to find it (a.k.a. This is the magic software! STEP THREE: Moving ChromeDriver somewhere sensible STEP TWO: Unzipping ChromeDriverĮxtract chromedriver_win32.zip and it will give you a file called chromedriver.exe. Switch to the Marketplace tab, type Selenium UI Testing, and click Install.
In the Settings/Preferences dialog (Ctrl+Alt+S), select Plugins. That link should download 2.40, but if you want something more recent just go to the page and download the right thing. For a full description of features, refer to Introducing Selenium Support in IntelliJ IDEA. It looks like a scam or like it was put together by a 12 year old, but I promise it’s good and cool and nice. Installing ChromeDriver STEP ONE: Downloading ChromeDriverįirst, download ChromeDriver from its terribly ugly site. ChromeDriver, which allows software to control Chrome (like Selenium!).Selenium, which allows you to control browsers from Python.Want to use Selenium to scrape with Chrome on Windows? Let’s do it!
Installing Selenium and ChromeDriver on Windows