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,…
JavascirptExecutor in Selenium
Posted on