Answer the question
In order to leave comments, you need to log in
How to check if an element exists in Capybara + selenium page?
Welcome all. Such a problem:
there is a call to the capybara method:
How to make it so that in the absence of an element on the page not to run into an errorshares = session.find("a.UFIShareLink")
Capybara::ElementNotFound: Unable to find css "a.UFIShareLink"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question