filatovnick / testtask
automation test using facebook/webdriver
dev-master
2017-01-09 04:53 UTC
Requires
- facebook/webdriver: ^1.2
- phpunit/phpunit: 5.3.*
- phpunit/phpunit-selenium: ^1.4
This package is not auto-updated.
Last update: 2025-03-01 22:31:50 UTC
README
Installation
Inside your composer project
php composer.phar require "filatovnick/testtask:dev-master"
Standalone
php composer.phar install
Usage
Start a selenium standalone server as
java -jar selenium-server-standalone-#.##.jar
or
run in cloud (browserstack.com)
$capabilities = array(WebDriverCapabilityType::BROWSER_NAME => 'chrome', 'browserstack.debug'=>'true', 'build'=>'First build');
$this->driver = RemoteWebDriver::create('https://nickfilatov3:DLcUbqVLfDqemJthaFYc@hub-cloud.browserstack.com/wd/hub', $capabilities);
Run test
./vendor/bin/phpunit ./vendor/filatovnick/testtask/MarketTest.php