Is there a way to type in a textbox without using sendKeys()?

Is there a way to type in a textbox without using sendKeys()?

Hey there Jacqueline, Yes!

Text can be entered into a textbox using JavaScriptExecutor

JavascriptExecutor jse = (JavascriptExecutor) driver;

jse.executeScript(""document.getElementById(‘email').value=“abc.efg@xyz.com”);