What is JavaScriptExecutor in Selenium? – User friendly Tech help
What is JavaScriptExecutor?nnJavaScriptExecutor 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 selected frame or window. n n n n n n Lets inject Javascript into Browser using Selenium n n n Why we use it?nnTo enhance…