0 votes
in Selenium by
Is there a way to type in a textbox without using sendKeys()?

1 Answer

0 votes
by

Yes! Text can be entered into a textbox using JavaScriptExecutor

JavascriptExecutor jse = (JavascriptExecutor) driver;

jse.executeScript("document.getElementById(‘email').value=“[email protected]”);

Related questions

0 votes
asked Feb 7, 2020 in Onsen UI by DavidAnderson
0 votes
asked Mar 6, 2021 in Azure by SakshiSharma
...