dev-master
9999999-dev
MIT
The Requires
- facebook/webdriver 1.0.*
- php ^5.4||^7.0
by Bogdan Anton
by Serban Ghita
selenium webdriver selenium setup
Wallogit.com
2017 © Pedro Peláez
Selenium-Setup-Webdriver is used to test the Selenium-Setup service implementation.
It can also be used in testing environments, since it provides a WebDriver and WebDriverConfig factories.
It also comes with a BrowserTestCase that you can use by extending your test cases., (*1)
Selenium-Setup
git clone https://github.com/bogdananton/Selenium-Setup.gitcd Selenium-Setupcomposer installphp selenium-setup start - will start the default Selenium server
php selenium-setup register yourServer and change yourServer.json to your needs.Selenium-Setup-Webdriver
git clone https://github.com/serbanghita/Selenium-Setup-Webdriver.gitcd Selenium-Setup-Webdrivercomposer installphpunit -c phpunit.xml - will perform the checks from tests
phpunit.xml if you want fast changes in your setup (proxy, selenium server, specific browser). Eg. connecting to a different Selenium host and port.setUp method from BrowserTestCase and use your custom webdriver settings or the predefined from SeleniumSetupWebDriver\WebDriver\WebDriverFactory.Now that you have validated your environment setup, you have two options:, (*2)
Selenium-Setup-Webdriver as a dependency in your test project. When writing tests, extend SeleniumSetupWebDriver\TestCase\BrowserTestCase.Selenium-Setup.
MIT
selenium webdriver selenium setup