How to use JavaScript executor in Java Selenium
JavaScriptExecutor js = (JavaScriptExecutor) driver; | |
js.executeScript("alert('Hello World!')"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment