Skip to content

nicolasd/docker-python-chromedriver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-python-chromedriver

Python with Chrome driver, for running automated tests

Includes:

  • Python
  • Google Chrome (latest version)
  • Chrome driver (latest version)

Versions:

  • 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)

Usage:

$ 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.

Example to run selenium test in this image:

$ pip install -r requirements.txt
$ python your_selenium_test.py

You may download a selenium test example from here to quick start.

About

Python with Chrome driver, for running automated tests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published