Sign inSign up

codycraven/selenium-chrome-debug-hostfile

By codycraven

•Updated over 7 years ago

Selenium Standalone Chrome Debug image with support for domains to point to the Docker host machine.

Image
0

3.2K

codycraven/selenium-chrome-debug-hostfile repository overview

⁠Selenium Chrome Debug Docker Image with Hostfile Support for Custom Domains

When performing testing through Selenium containers in a local environment, it is often necessary to have domain names used in local development resolve by the Selenium container. This Docker image extends the selenium/standalone-chrome-debug⁠ image to dynamically set specified domain names to the host machine.

⁠Usage

Supply MAP_DOMAINS environment variable with a semi-colon delimited list of domain names to map to the Docker host IP address.

Examples:

# Single domain:
docker run --init -it -e "MAP_DOMAINS=example.com" codycraven/selenium-chrome-debug-hostfile

# Multiple domains:
docker run --init -it -e "MAP_DOMAINS=example.com;another.example.com;yet-another-domain.example.com" codycraven/selenium-chrome-debug-hostfile

Since this image extends selenium/standalone-chrome-debug, all documentation that relates to that image (including VNC support) are supported. See the Selenium documentation⁠ for more information.

Tag summary

Content type

Image

Digest

Size

332.6 MB

Last updated

over 7 years ago

docker pull codycraven/selenium-chrome-debug-hostfile