Interacting with the browser | Executing JavaScript through JavascriptExecutor

In the Previous Tutorial, we learned to take the screenshot of the page. In this tutorial, we’ll explore ways to execute a piece of Javascript through the WebDriver. What the heck is JavaScript? Well, JavaScript is a scripting language that runs on Client-side, i.e on the browser (those who are smarter please forget about node.js for a …

Read moreInteracting with the browser | Executing JavaScript through JavascriptExecutor