To validate whether the xpath we created is valid or not we can go to chrome developer tools and go ... Read More
Example of complete xpath is below.Complete xpaths are not recommened as if anything on the website ... Read More
In order to handle exceptions using firefox driver we create a new profile ``` ProfilesIni allpr ... Read More
To take screenshot with selenium we can do so using below two lines of code ``` File scrFile = ... Read More
We make a new project in Eclipse and then go properties ->Java Build path Add external jars and add ... Read More
We can make an object of ChromeOptions class ``` ChromeOptions ops = new ChromeOptions(); ``` ... Read More
Below is a custom function in which we pass the xpath of the element we want to click as xpathExpTa ... Read More
In this section we will see how to control the movement of mouse i.e how to move the mouse over a pa ... Read More
Webdriver is an interface-All classes that implement webdriver Interface can use its functions on an ... Read More
We can pause a program for 10 secs by using below line of code ``` Thread.sleep(10000); ``` A ... Read More