February 2018
Beginner to intermediate
364 pages
10h 32m
English
First we need to install Selenium. We do this with our trusty pip:
~ $ pip install seleniumCollecting selenium Downloading selenium-3.8.1-py2.py3-none-any.whl (942kB) 100% |████████████████████████████████| 952kB 236kB/sInstalling collected packages: seleniumSuccessfully installed selenium-3.8.1
This installs the Selenium Client Driver for Python (the language bindings). You can find more information on it at https://github.com/SeleniumHQ/selenium/blob/master/py/docs/source/index.rst if you want to in the future.
For this recipe we also need to have the driver for Firefox in the directory (it's named geckodriver). This file is operating system specific. I've included the file for Mac in the folder. To get other versions, visit ...
Read now
Unlock full access