what is the difference between keys.enter and keys.return in selenium? i have used both and both performed enter.
Answer Posted / piya
For Enter-
act.sendKeys(Keys.RETURN);
For Tab-
act.sendKeys(Keys.ENTER);
| Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
Write a code to wait for a particular element to be visible on a page. Write a code to wait for an alert to appear.
How to type text in a textbox using selenium?
Tell me how colors could be handled in selenium webdriver?
What is the purpose of creating a reference variable- ‘driver’ of type
What are the different exceptions you have faced in selenium webdriver?
How is assert command different from verify command?
Tell me does the selenium have any limitations?
What is selenese and what are the types of selenese?
When to use autoit?
Mention what are the challenges in handling ajax call in selenium webdriver?
How to run selenium webdriver test from the command line?
Name an api used for reading and writing data to excel files?
Tell us can you write the code to double click an element in selenium?
Can captcha be automated?
Write a code snippet to perform right-click an element in webdriver.