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
How to check if a button is enabled on the page?
What is the difference between selenium ide, selenium rc, and webdriver?
Please explain what are the different types of locators in selenium?
How to login into any site if it is showing an authentication pop-up for username and password?
Why to choose python over java in selenium?
Tell me how to verify tooltip text using selenium?
What is the use of logging in automation?
What are the important features of selenium ide?
What are the different keyboard operations that can be performed in selenium?
What are the features of testng and list some of the functionality in testng which makes it more effective?
What are some commonly encountered exceptions in selenium?
Other than the default port 444 how you can run selenium server?
How to handle ajax calls in selenium webdriver?
What are various ways of locating an element in selenium?
Explain xpath.