My Selenium playground.
-
Install selenium with pip3.
$ pip3 install selenium
-
Add chromedriver to your path, you should download the correct version from here: https://sites.google.com/a/chromium.org/chromedriver/downloads
You can check the version of your Chrome using 'About Google Chrome'.
$ unzip chromedriver_linux64.zip
$ sudo mv chromedriver /usr/bin/chromedriver
$ sudo chown root:root /usr/bin/chromedriver
$ sudo chmod +x /usr/bin/chromedriver
-
You can now run the example:
$ python3 try_selenium.py