Skip to content

Commit d05bfe8

Browse files
Fix docs
1 parent c04d6f0 commit d05bfe8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/appium_lib/common/wait.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ def _process_wait_opts opts
6969
# If only a number is provided then it's treated as the timeout value.
7070
#
7171
# @param [Hash] opts Options
72-
# @option opts [Numeric] :timeout (5) Seconds to wait before timing out.
73-
# @option opts [Numeric] :interval (0.2) Seconds to sleep between polls.
72+
# @option opts [Numeric] :timeout (30) Seconds to wait before timing out.
73+
# @option opts [Numeric] :interval (0.5) Seconds to sleep between polls.
7474
# @option opts [String] :message Exception message if timed out.
7575
# @option opts [Array, Exception] :ignore Exceptions to ignore while polling (default: Exception)
7676
def wait_true opts={}, &block
@@ -87,8 +87,8 @@ def wait_true opts={}, &block
8787
# If only a number is provided then it's treated as the timeout value.
8888
#
8989
# @param [Hash] opts Options
90-
# @option opts [Numeric] :timeout (5) Seconds to wait before timing out.
91-
# @option opts [Numeric] :interval (0.2) Seconds to sleep between polls.
90+
# @option opts [Numeric] :timeout (30) Seconds to wait before timing out.
91+
# @option opts [Numeric] :interval (0.5) Seconds to sleep between polls.
9292
# @option opts [String] :message Exception message if timed out.
9393
# @option opts [Array, Exception] :ignore Exceptions to ignore while polling (default: Exception)
9494
def wait opts={}, &block

0 commit comments

Comments
 (0)