how to enter text without using sendkeys() in selenium code example
Example: 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'");