Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Latest commit

 

History

History
20 lines (12 loc) · 797 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 797 Bytes

docker-selenium

Docker image containing selenium (2.48) and the google chrome driver (2.20)

Usage

One liner: docker run -it -v /dev/shm:/dev/shm -p 4444:4444 danielfrg/selenium

NOTE: the /dev/shm mount is the recommended workaround for the chrome crash issue as per SeleniumHQ/docker-selenium

Selenium UI is available at: http://DOCKERHOST:4444/wd/hub/static/resource/hub.html

You should be able to click the "Create session" button and select "chrome"

Example on python

Using the selenium python library you can do like this example