mario-naether / chromiuman
Codeception Extension for automatically starting and stoping Chromedriver when running tests
Installs: 67 721
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.1
- codeception/codeception: ^2.3||^3.0||^4.0
- lbaey/chromedriver: ^1.1
Requires (Dev)
This package is auto-updated.
Last update: 2025-01-18 19:35:54 UTC
README
Codeception Extension for automatically starting and stoping Chromedriver when running tests
Minimum Requirements
- Codeception 2.3
- PHP 7.0
Install
$ composer require mario-naether/chromiuman
Install a newer version of chromium driver
"extra": { "lbaey/chromedriver": { "bypass-select" : true, "chromedriver-version": "74.0.3729.6" } }
Enabling Chromiuman with defaults
extensions: enabled: - Codeception\Extension\Chromiuman
Enabling Chromiuman with settings
extensions: enabled: - Codeception\Extension\Chromiuman config: Codeception\Extension\Chromiuman logDir: '/var/logs/chromedriver/' path: '/usr/bin/chromedriver'
Enabling Chrome/Chromium in acceptance.suite.yml
modules: enabled: - WebDriver: url: http://www.google.de browser: chrome capabilities: chromeOptions: args: ["disable-infobars", "headless","disable-gpu", "window-size=1920x1080"] #binary: "path/to/chrome.exe"