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
Install oleg-andreyev/mink-phpwebdriver
composer require oleg-andreyev/mink-phpwebdriver
https://github.com/oleg-andreyev/MinkPhpWebdriverExtension
./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
Follow https://github.com/shivammathur/setup-php#local-testing-setup
Copyright (c) 2024 Oleg Andreyev oleg@andreyev.lv