oleg-andreyev / MinkPhpWebDriver

Webdriver driver for Mink framework
MIT License
8 stars 9 forks source link

MinkPhpWebDriver

Latest Stable Version Latest Unstable Version Total Downloads CI License codecov

Initially it's started as PR to MinkSelenium2Driver

Major updates include:

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