| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Docker Selenium Chrome for Codeception is a extension to integrate automatic selenium with chrome in your codeception tests.
Simply add the following dependency to your project’s composer.json file:
"require": {
"teamneusta/codeception-docker-chrome": "^1.0"
}Finally you can use Docker Selenium Chrome for Codeception in your codeception.yml
extensions:
enabled:
- Codeception\Extension\DockerChrome
config:
Codeception\Extension\DockerChrome:
suites: ['acceptance']
debug: true
extra_hosts: ['foo.loc:192.168.0.123']this configuration override the codeception.yml configuration
class_name: AcceptanceTester
modules:
enabled:
- WebDriver:
port: 5555
browser: chrome
url: https://www.example.de/
capabilities:
proxyType: 'manual'
httpProxy: 'http-proxy.example.de:3128'
sslProxy: 'https-proxy.example.de:3128'
noProxy: 'address1.local,adress2.de'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
Docker server now accessibleOnce the tests are complete, Docker Server will be shut down.
Stopping Docker Server| Back | FazBrowse Home | New Git URL |