Skip to content

cnuss/docker-selenium-chrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-selenium-chrome

Build Status

A Docker container that installs:

  • Chrome
  • Python
  • Selenium
  • Chromedriver

It also provides a sample script to get you started to run a Selenium session.

Building (Locally)

docker build --tag docker-selenium-chrome:latest .

Running (Locally)

docker run docker-selenium-chrome:latest

Customizing (Quick 'n Dirty Example)

  1. Create your own repository
  2. Create your script (run_test.py, for example)
  3. Add the following Dockerfile:
FROM cnuss/selenium-chrome:latest

ADD run_test.py /opt/bin
CMD ["/opt/bin/launcher", "/opt/bin/run_test.py"]

This effectively overrides the CMD that runs simple_test.py, but still leverages launcher so the display get's set up for you!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages