Skip to content

Dockerfile to build a headless selenium installation with ChromeDriver

License

Notifications You must be signed in to change notification settings

peroumal1/docker-chrome-selenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for Selenium Server with Chrome (adapted from lzhang/selenium)

Installation

$ sudo docker pull eperoumalnaik/docker-chrome-selenium

Usage

Run the container:

$ SELENIUM_CONTAINER=$(sudo docker run --privileged -p 4444:4444 -d eperoumalnaik/docker-chrome-selenium)

Selenium server will be available on the host machine at port 4444. Web tests will run via headless chrome.

The privileged option is needed so that chrome can run (see moby/moby#1079).

Shutting down the container:

$ sudo docker kill $SELENIUM_CONTAINER

About

Dockerfile to build a headless selenium installation with ChromeDriver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages