lundi 4 septembre 2017

How do i find web elements for a site that uses Angular JS?

  • Using rspec to find elements on a site
  • The site uses angular JS
  • I tried using all the element id but no luck - it always comes back Failure/Error: @driver.find_element(:name, "Settings").click

    Selenium::WebDriver::Error::NoSuchElementError: no such element: Unable to locate element: {"method":"name","selector":"Settings"}

    • Here's the sample when I do an inspect of the element
    • Settings
    • any help will do - I'm a newbie so I'm not sure if I am even asking the right question



Aucun commentaire:

Enregistrer un commentaire