Python with Chrome driver, for running automated tests
- Python
- Google Chrome (latest version)
- Chrome driver (latest version)
- 2.7 - based on Python 2.7
- 3.6 - based on Python 3.6
- 2.7-xvfb - based on Python 2.7 with xvfb installed
- 3.6-xvfb - based on Python 3.6 with xvfb installed
- latest (default version, same as 3.6)
$ cd [your working directory]
$ docker run -it -v $(pwd):/usr/workspace joyzoursky/python-chromedriver bash
root@[container ID]:/# cd /usr/workspace
Then run the commands in this bash as in your working directory.
$ pip install -r requirements.txt
$ python your_selenium_test.py
You may download a selenium test example from here to quick start.