How do you find element using Java Script?

Answer Posted / chetan phani.j

By using executeScript()

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 selenium tests normally named (as displayed at the top of each test when viewed from within a browser)?

516


How can we handle windows based pop up?

511


What are the drawbacks of selenium ide

492


How a text written in a text field could be cleared?

472


What differs the configuration of Selenium Selenium 2.0 1.0?

497






What are the advantages of selenium as a test tool?

452


Explain junit. What are annotations?

539


What are the advantages and disadvantages of selenium over other testing tools like qtp and testcomplete?

978


Mention what is listeners in selenium webdriver?

555


What are various ways of locating an element in selenium?

472


Is there a way to refresh browser using selenium?

500


What is the difference between "assert" and "verify" commands?

486


Which are the browsers supported by selenium rc?

489


How to achieve database testing in selenium?

515


What is the alternative to driver.get() method to open an url using selenium webdriver?

759