selenium08_12
selenium08_12
12/08/2021
Write a script to close the Child tab 1st then the Parent tab by using Iterator.
Actions class is mainly used for Mouse Actions and it has parametrized constructor
where it takes WebDriver as an argument.
Whenever we call any methods of Actions class, we have to use perform() at the last.
All the methods present of Actions class is an example for Method Overloading.
}
How we perform drag and drop in Selenium.
By using drapandDrop() of Actions class.
Example-
URL:- http://www.dhtmlgoodies.com/submitted-scripts/i-google-like-drag-drop/index.html
Program:-