Skip to content

Commit

Permalink
existence checker now works immediately and does not wait to do the t…
Browse files Browse the repository at this point in the history
…est - it just does it
  • Loading branch information
natritmeyer committed Mar 16, 2012
1 parent 66cba20 commit eda5e6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/site_prism/element_container.rb
Expand Up @@ -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
Expand Down

0 comments on commit eda5e6a

Please sign in to comment.