oleg-andreyev / mink-phpwebdriver
MinkPhpWebDriver driver for Mink framework
Installs: 2 678 565
Dependents: 5
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 9
Open Issues: 6
Type:mink-driver
Requires
- php: >=8.1
- behat/mink: ^1.10
- php-webdriver/webdriver: ^1.14
Requires (Dev)
- ext-json: *
- bamarni/composer-bin-plugin: ^1.8
- behat/mink-extension: ^2.3
- dbrekelmans/bdi: ^1.2
- jetbrains/phpstorm-attributes: ^1.0
- mink/driver-testsuite: dev-integration-branch-v2
- roave/security-advisories: dev-master
- 1.4.x-dev
- v1.4.0
- 1.3.x-dev
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- 1.2.x-dev
- v1.2.1
- v1.2.0
- 1.0.x-dev
- dev-master / 1.0.x-dev
- v1.0.1
- v1.0.0
- dev-macos
- dev-1.3-fix-ci
- dev-oleg-andreyev-patch-1
- dev-1.3-test-v2
- dev-test-v2
- dev-enhance
- dev-artifacts_logs
- dev-bump-php-version
- dev-upstream-merge
- dev-psalm
- dev-fix-make-screenshot-filename
This package is auto-updated.
Last update: 2024-11-14 16:57:07 UTC
README
Initially it's started as PR to MinkSelenium2Driver
Major updates include:
- Switch to using
facebook/webdriver
- Update minimum php version to 8.1
- Tested against the latest Google Chrome and Mozilla Firefox both in GUI and Headless modes
Setup
Install oleg-andreyev/mink-phpwebdriver
composer require oleg-andreyev/mink-phpwebdriver
Behat Extension
https://github.com/oleg-andreyev/MinkPhpWebdriverExtension
Testing
./bin/start_webdriver.sh & # ./bin/start_driver.sh <browser> <version> ./bin/start_driver.sh chrome latest & BROWSER_NAME=chrome ./bin/phpunit
This will download the latest driver for specified browser and will execute phpunit
Running GitHub Action locally
Follow https://github.com/shivammathur/setup-php#local-testing-setup
Copyright
Copyright (c) 2024 Oleg Andreyev oleg@andreyev.lv