Method: Appium::Core::Waitable#wait_until
- Defined in:
- lib/appium_lib_core/common/wait.rb
#wait_until(timeout: nil, interval: nil, message: nil, ignored: nil, &block) ⇒ Object Also known as: wait
Check every interval seconds to see if yield doesn’t raise an exception. Give up after timeout seconds.
If only a number is provided then it’s treated as the timeout value.
196 197 198 199 200 201 202 203 |
# File 'lib/appium_lib_core/common/wait.rb', line 196 def wait_until(timeout: nil, interval: nil, message: nil, ignored: nil, &block) Wait.until(timeout: timeout || @wait_timeout, interval: interval || @wait_interval, message: , ignored: ignored, object: self, &block) end |