0

This is the statement i am using in Newrelic synthetic monitor written in javascript

return $browser.waitForAndFindElement(By.name("//*[@class=\`attribute-field-container\`]/select//option[5]"), DefaultTimeout); })

UI

  • Is there any error message? Probably you will need to firstly click on the dropdown itself and afterwards click on the option, as an user would do. I can transform this comment in a answer if confirmed. – João Farias Feb 20 at 14:57
  • 1
    Try to change all occurrences of ` to ' – Alexey R. Feb 20 at 15:26

Your Answer

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

Browse other questions tagged or ask your own question.