appium / ruby_lib

:gem: Ruby library for Appium
http://rubygems.org/gems/appium_lib
216 stars 160 forks source link

fix default_wait value #983

Closed KazuCocoa closed 1 year ago

KazuCocoa commented 1 year ago

Summary

https://github.com/appium/ruby_lib_core/pull/315/files#diff-ba25829070765d1b487bb110890008b9949b3e7d35d5de2d1823b4feba490838R43 broke existing default_wait behavior. When no wait preference was given as appium_lib:, the @core.default_wait could be nil. It caused nil reference in some places.

The previous behavior had 0 by default in the ruby_lib_core. This ruby_lib should care about the change.