Sign inSign up

nymediaas/chrome-headless

By nymediaas

Updated about 5 years ago

Chrome headless with chromedriver running on 8643

Image
0

100K+

nymediaas/chrome-headless repository overview

chrome-headless

Docker buld status Docker build automation

Docker image to have a headless chrome available via Chromedriver.

This is useful for running behat tests, for example.

Example usage

docker run -p 8643:8643 -d nymediaas/chrome-headless

You can now use chromedriver in your behat.yml. The settings should be like so:

selenium2:
  wd_host: http://localhost:8643/wd/hub
  capabilities:
    chrome:
    switches:
      - "--headless"
      - "--disable-gpu"
      - "--no-sandbox"

Remember to set the base_url to an address that this container can reach.

Or you can use it with docker-compose and use the name of your service as the wd_host.

Tag summary

Content type

Image

Digest

Size

128.8 MB

Last updated

over 5 years ago

docker pull nymediaas/chrome-headless