Headless selenium chromedriver setup with PHPUnit examples
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
SeleniumTests.php
bootstrap.php
composer.json
composer.lock
phpunit.xml.dist
selenium-chrome.sh

README.md

phpunit-headless-selenium-chrome

Headless selenium chromedriver setup with PHPUnit example

What to do

Mac

Linux

Linux Server/Vagrant

  • Run selenium-chrome.sh on your Vagrant box or server to automatically install all dependencies, and run selenium - this was tested on Ubuntu 14.04
  • Run PHPUnit: composer install; vendor/bin/phpunit
  • Look at all that green, oh yea!

Windows

If you know how to run this on Windows, please let me know or create a pull request