We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3416272 commit 2e71e47Copy full SHA for 2e71e47
lib/appium_lib/console.rb
@@ -146,11 +146,8 @@ def start_driver
146
# when no commands are entered after 60 seconds.
147
$driver.execute_script 'mobile: setCommandTimeout', timeout: 9999
148
149
- # Must set implicit_wait to zero or $ commands will fail.
150
- # execute_script "$('button')"
151
- # $ commands fail anyway now so set implicit wait.
152
- # https://github.com/appium/appium/issues/214
153
- $driver.manage.timeouts.implicit_wait = 30
+ # Set implicit wait by default unless we're using Pry.
+ $driver.manage.timeouts.implicit_wait = 30 unless defined?(Pry)
154
155
$driver
156
end
0 commit comments