Skip to content

szabacsik/selenium-grid-phpunit

Repository files navigation

End-to-End test with Selenium Grid and PHPUnit

This is a small experimental End-to-End test automation project. What I wanted to achieve was to be able to run End-to-End tests with PHPUnit by control Browsers from the test cases. It is possible with Selenium Grid and PHP Webdriver. This would obviously be good if it could be easily run in the local development environment or from a CI/CD automated pipeline and could capture video of what happens in the browsers.

Prerequisites

  • PHP 8.1
  • Composer
  • Docker

Run

Docker/Grid

composer test:docker:endtoend

Local/WebDriver

composer test:local:endtoend

https://chromedriver.chromium.org/downloads

About

End-to-End test with Selenium Grid and PHPUnit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages