lib/pagetience/dsl.rb in pagetience-0.4.0 vs lib/pagetience/dsl.rb in pagetience-0.4.2
- old
+ new
@@ -3,7 +3,11 @@
module Pagetience
module DSL
def current_page
@browser.current_page
end
+
+ def wait_for_element(sym)
+ @browser.current_page.wait_for_element sym
+ end
end
end
\ No newline at end of file