Commit 57d15e87 authored by Mark Lapierre's avatar Mark Lapierre

Return false from predicate instead of raising

parent da9a8aa0
......@@ -247,6 +247,8 @@ module QA
else
find_element(name, **original_kwargs).disabled? == disabled
end
rescue Capybara::ElementNotFound
false
end
# Check for the element before waiting for requests, just in case unrelated requests are in progress.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment