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 Mar 30, 2021 in Selenium by sharadyadav1986
0 votes
asked Dec 2, 2020 in Tableau by rajeshsharma
...