One more solution (in Java, because you didn’t tell us your language – but it works the same way in all languages with
String selectAll = Keys.chord(Keys.CONTROL, "a");
You can use this to select the whole text in an
<input>, or on the whole page (just find the
html element and send this to it).
EDIT – after OP stated that he’s using Selenium Ruby bindings
- You must login to post comments