How does click on button without using click method

Answer Posted / sekhar

driver.FindElemen(By.xpath("xpath").Sendkeys(Keys.Enter);

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command that is used in order to display the values of a variable into the output console or log?

633


What are the advantages of the automation structure?

597


How can we maximize browser window in selenium?

532


What is the syntax of finding elements by id using css selector?

498


Write a code snippet to perform right-click an element in webdriver.

498






what are the testing frameworks used in selenium?

524


How to locate a link using its text in selenium?

547


Explain dataproviders in testng ?

525


What the webdriver supported mobile testing drivers do you know?

489


Give selenium ide tool disadvantage?

529


How can we handle web-based pop-up?

545


Can I navigate back and forth in a browser in selenium webdriver?

572


What is XPath? How does it work?

525


Explain me how to execute javascript in selenium?

467


Explain xpath absolute and xpath attributes.

519