Hello guys,
How many times we had a discussion regarding what type of driver is better to use: headless PhantomJSDriver, local WebDriver or RemoteWebdriver.
Now it’s possible to make a configuration of Your project using Cucumber and Automotion library.
Here is example of Maven project. There are 4 Cucumber feature files that will run the same test scenarios using different drivers: FirefoxDriver, Remote Chrome Driver, Remote Chrome Driver with mobile emulation of iPhone 6 and headless PhantomJSDriver.
Also there is example of how to perform the smart verification that web page has correct language using Automotion.
To run the tests – simply clone the project and run the test_run.sh file.
Thank You for Your attention and as always – have a good testing!