lib/vapir-ie/frame.rb in vapir-ie-1.9.0 vs lib/vapir-ie/frame.rb in vapir-ie-1.10.0

- old
+ new

@@ -9,9 +9,10 @@ # waiting on a Frame should carry on upwards to the browser - the sorts of operations that we wait after # (clicking a link or whatever) tend to affect other frames too; waiting on just this frame doesn't # make sense. def wait(options={}) # :nodoc: + return unless config.wait if browser # prefer to wait on the browser browser.wait(options) elsif container # if we don't have the browser, wait on the container (presumably this exists) container.wait(options) else # but if we don't have a container either, just call to PageContainer#wait (by this alias) \ No newline at end of file