1

I want all the options which are there in a dropdown .I am using selenium + javascript to write the testcases Please let me know how to get all the options from the dropdown

i know in java we can achive this by using Select class and getOptions() , i need the same how to achive this when we are using webdriverjs

0

Someone develop a webdriverjs-helper:

This helper provide a function to get the values of a dropdown:

  • Hi , Thanks for your answer here what is selector ? – QAMember Dec 2 '14 at 11:38
  • @sunilkumar Selector is another term for Locator. List of selectors: CSS ID, CSS class name, HTML tag name, XPath, link text etc. – Twaldigas Dec 4 '14 at 7:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.