Download the PHP package teamneusta/codeception-docker-chrome without Composer
On this page you can find all versions of the php package teamneusta/codeception-docker-chrome. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download teamneusta/codeception-docker-chrome
More information about teamneusta/codeception-docker-chrome
Files in teamneusta/codeception-docker-chrome
Package codeception-docker-chrome
Short Description Codeception extension to start automatically an docker chrome instance
License MIT
Informations about the package codeception-docker-chrome
Docker Selenium Chrome for Codeception Extension
What's Docker Selenium Chrome for Codeception?
Docker Selenium Chrome for Codeception is a extension to integrate automatic selenium with chrome in your codeception tests.
Minimum Requirements
- Unix System
- Codeception 2.2.0
- PHP 7.0 >
- docker 1.12.0
- docker-compose 1.11.0
Installing
Simply add the following dependency to your project’s composer.json file:
Finally you can use Docker Selenium Chrome for Codeception in your codeception.yml
Available options
Basic
path: {path}
- Full path to the docker-compose binary.
- Default:
/usr/local/bin/docker-compose
port: {port}
- Webdriver port to start chrome with.
- Default:
4444
debug: {true|false}
- Display debug output
- Default:
false
extra_hosts: ['domain:ip', 'domain:ip']
- set extra hosts for docker container to connect to local environment over network (not 127.0.0.1)
- Default:
null
suites: {array|string}
- If omitted, Chrome is started for all suites.
- Specify an array of suites or a single suite name.
- If you're using an environment (
--env
), Codeception appends the environment name to the suite name in brackets. You need to include each suite/environment combination separately in the array.suites: ['acceptance', 'acceptance (staging)', 'acceptance (prod)']
- If you're using an environment (
Proxy Support
http_proxy: {address:port}
- Sets the http proxy server.
https_proxy: {address:port}
- Sets the https proxy server.
no_proxy: address1.local,adress2.de
- Sets the no proxy for specific domains.
Registry Support
private-registry: {address:port}
Suite configuration example
this configuration override the codeception.yml configuration
Usage
Once installed and enabled, running your tests with php codecept run
will
automatically start the chrome and wait for it to be accessible before
proceeding with the tests.
be patient on first start. It could take a while
Once the tests are complete, Docker Server will be shut down.
All versions of codeception-docker-chrome with dependencies
codeception/codeception Version ^2.2
monolog/monolog Version *
symfony/process Version *