Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

existence checker now works immediately and does not wait to do the t…

…est - it just does it
  • Loading branch information...
commit eda5e6a463b29b23fe0b9e1c0925890f7cb2bd74 1 parent 66cba20
@natritmeyer authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/site_prism/element_container.rb
View
4 lib/site_prism/element_container.rb
@@ -135,7 +135,9 @@ def create_existence_checker element_name, element_locator
end
else
define_method method_name do
- element_exists? element_locator
+ Capybara.using_wait_time 0 do
+ element_exists? element_locator
+ end
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.