

Selenium Webdriver Installation Steps Following steps will guide you through setting up Selenium WebDriver on your machine-Step.1. You should now be able to run from selenium import webdriverĪlternatively, you can use webdriver_manager that contains most web drivers.įirst install it with pip: pip install webdriver_managerĪnd for Chrome in particular, you should do from webdriver_manager.chrome import ChromeDriverManagerīrowser = webdriver.Chrome(ChromeDriverManager().Configuring Java onWorks on PC, Mac, iPad, and Android tablets. usr/local/bin) unzip chromedriver_mac64.zip

Step 2: Add chromedriver to your PATH (e.g. Step 1: Download chromedriver # You can find more recent/old versions at The first option is to manually download chromedriver and add it your PATH:

$ echo "export PATH=$PATH:$HOME/bin" > $HOME/.bash_profile This can be installed via Homebrew with brew install chromedriver, or manually by downloading, extracting, moving and setting the PATH as follows: $ cd $HOME/Downloads

If you want to use Selenium WebDriver with Chrome, first download ChromeDriver - WebDriver for Chrome.
