July 2019
Intermediate to advanced
536 pages
12h 57m
English
In the first chapter, the CreateDriver.java Selenium driver class was built. The class has several setDriver methods that take the parameters passed into the suite for the browser, mobile device, platform, and environment, and process them when creating the driver instance.
Now, when running on a remote environment, we need to add several conditions to the setDriver methods to pass the desired capabilities and preferences to the RemoteWebDriver class, instead of the local WebDriver instance.
Let's look at these conditions for each setDriver method in this class.
Read now
Unlock full access