lib/appium_lib/common/wait.rb in appium_lib-9.5.0 vs lib/appium_lib/common/wait.rb in appium_lib-9.6.0
- old
+ new
@@ -46,9 +46,10 @@
raise Selenium::WebDriver::Error::TimeOutError, msg
end
end
# process opts before calling _generic_wait
+ # @private
def _process_wait_opts(opts)
opts = { timeout: opts } if opts.is_a?(Numeric)
raise 'opts must be a hash' unless opts.is_a? Hash
opts
end