Skip to content

Commit

Permalink
Look up Watir under Object
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillrdy committed Aug 8, 2013
1 parent 54a4fd8 commit 41e533e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/watir-webdriver/wait.rb
Expand Up @@ -95,7 +95,7 @@ def method_missing(m, *args, &block)
raise NoMethodError, "undefined method `#{m}' for #{@element.inspect}:#{@element.class}"
end

Watir::Wait.until(@timeout, @message) { @element.present? }
::Watir::Wait.until(@timeout, @message) { @element.present? }

@element.__send__(m, *args, &block)
end
Expand Down

0 comments on commit 41e533e

Please sign in to comment.