Answers for "how to enter text without using sendkeys() in selenium"

0

how to enter text without using sendkeys() in selenium

JavascriptExecutor js = (JavascriptExecutor)Driver.getDriver();
js.executeScript("document.getElementById('Username').value='myUsername'");
js.executeScript("document.getElementById('Password').value='myPassword'");
Posted by: Guest on January-14-2021

Code answers related to "how to enter text without using sendkeys() in selenium"

Browse Popular Code Answers by Language