Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

1
how to get text from text box

Open 1 Answers 38 Views Selenium
1 1
I have text box. getText() function is not working

1 Answer

0
0

Try using

WebElement textbox = driver.findElement(//waytofindtextbox);

String text = textbox.getAttribute("value");

answered by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...