Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Chromedriver Dockerfile

This is a Dockerfile to create a Webdriver Docker image with ChromeDriver and Google Chrome.

Usage

The blueimp/chromedriver image starts a chromedriver server on port 4444, which runs Webdriver tests with Google Chrome in a virtual X Window System.

Sample docker-compose configuration:

version: "3.7"
services:
  chromedriver:
    image: blueimp/chromedriver
    # Start the container with an init process:
    init: true
    # Mount the /tmp partition as tmpfs:
    tmpfs: /tmp
    environment:
      # Enable the VNC server:
      - ENABLE_VNC=true
      # Expose the X Window Server via TCP:
      - EXPOSE_X11=true
    volumes:
      # Mount the host ./assets directory into the container:
      - ./assets:/home/webdriver/assets:ro
    ports:
      # Expose the VNC server on port 5900 on localhost:
      - 127.0.0.1:5900:5900

Please have a look at the blueimp/wdio project for a complete configuration example.

Software

The following software is included in the blueimp/chromedriver image:

Configuration

See blueimp/basedriver configuration.

License

Released under the MIT license.

Author

Sebastian Tschan

About

Chromedriver Dockerfile

Resources

License

Releases

No releases published

Sponsor this project

 

Packages

No packages published
You can’t perform that action at this time.