How can I click the div tag using xpath

<div>
<input>
<input>
<input>
<input>.....suresh....</input>
</input>
</input>
</input>
</div>

Answer Posted / kiran

//input/ancestor::div

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List some of the test types that are supported by selenium.

465


What are the main advantages of selenium?

494


What do you mean by the assertion in selenium?

491


List some of the operating systems that are supported by selenium webdriver.

467


Describe a framework. List some of the common automation frameworks.

505






What are the types of waits available in selenium webdriver?

466


What is parameterization in testng? How to pass parameters using testng.xml?

476


How is selenium different from qtp?

461


Is webelement an interface or a class?

560


Explain how you can handle colors in web driver?

580


Tell me how can we launch different browsers in selenium webdriver?

487


What is fluent wait in selenium webdriver?

525


What are some of the different ways to find an element using selenium as a tool?

470


What is same origin policy and how it can be handled?

456


What are some of the advantages of selenium grid?

502