How can I click the div tag using xpath

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

Answer Posted / kiran212

//input/ancestor::div

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different exceptions you got when working with webdriver?

463


What is the difference between setspeed() and sleep() methods?

558


Write the code to right click an element in selenium?

485


What are the advantages of selenium as a test tool?

452


Can you run the tests registered with Selenium IDE in other browsers?

536






Where to obtain selenium ?

499


What is the main difference between the close() and quit() methods?

420


Write the code for reading and writing to excel through selenium?

512


In which format does source view show the script in selenium ide?

493


How to get the title of the page?

503


In selenium what are breakpoints and startpoints?

486


How do you get the width of the textbox?

517


What are the types of waits available in selenium webdriver?

469


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

507


How to insert a breakpoint in selenium ide?

513