learn javascriptexecutor in selenium code example
Example: javascriptexecutor in selenium java
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript(Script,Arguments);
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript(Script,Arguments);