What is JavaScriptExecutor in Selenium?

What is JavaScriptExecutor?JavaScriptExecutor is an interface which provides mechanism to execute Javascript through selenium driver. It provides “executescript” & “executeAsyncScript” methods, to run JavaScript in the context of the currently […]