- Python 3 is installed on your machine. Install Python 3.
- Package manager pip is installed on your machine. Install pip
- Chrome browser is installed on your machine. Install Chrome browser
- Chrome Webdriver is on your machine and is in the environment variable PATH. Here are some resources from the internet that'll help you.
- Git is installed on your machine. Install git
- If you want to run example from IDE, install any IDE for Python (e.g. PyCharm )
Start with the ready-to-run code Github repo
- Git clone this repo
git clone https://github.com/applitools/tutorial-selenium-python-ultrafastgrid.git
, or download this as a Zip file and unzip it cd tutorial-selenium-python-ultrafastgrid
- Open in any editor file
ultrafastgrid_demo.py
and set your ApiKey in string.set_api_key('...')
- Install requirements
pip install -r requirements.txt
- Run
ultrafastgrid_demo.py
by callingpython ultrafastgrid_demo.py
- If you want run from IDE - start PyCharm, open just cloned project, set project interpreter by File > Settings > Project: > Project Interpreter choose interpreter by dropdown box; tap Run and choose
ultrafastgrid_demo
.
Read more here: https://www.applitools.com/tutorials/selenium-python.html