what is the difference between keys.enter and keys.return in selenium? i have used both and both performed enter.



what is the difference between keys.enter and keys.return in selenium? i have used both and both per..

Answer / piya

For Enter-
act.sendKeys(Keys.RETURN);
For Tab-
act.sendKeys(Keys.ENTER);

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More Selenium Interview Questions

What is a data driven framework?

0 Answers  


Explain what are the different types of locators in selenium?

0 Answers  


What is the meaning of assertion in selenium and what are the types of assertion?

0 Answers  


What are the operating systems supported by selenium webdriver?

0 Answers  


Explain what are the junits annotation linked with selenium?

0 Answers  






What is the main disadvantage of implicit wait?

0 Answers  


What is datadriven framework and keyword driven?

0 Answers  


How can we get a text of a web element?

0 Answers  


How to select value in a dropdown?

0 Answers  


What are the test types supported by selenium?

0 Answers  


What are the benefits of automation testing?

0 Answers  


What’s selenese?

0 Answers  


Categories