JavascirptExecutor in Selenium

JavascirptExecutor is an Interface. Located inside the package org.openqa.selenium. It has two methods. One is executeScript another one is executeAsyncScript . Method executeScript:- Object executeScript(String script, Object… args); So this is how the method is defined in the source code. This method is abstract and public in nature as it is mentioned inside the Interface,…

Queue Data Structure for Beginners

Queue is a kind of data structure where the order of the element matters. It’s like a line in-front of movie ticket line. The person who came last in the queue will stand at the rear position of the line. And the person who joined the line at the very first would be the person…