We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 190f023 commit ea0fe8eCopy full SHA for ea0fe8e
lib/appium_lib/driver.rb
@@ -248,7 +248,9 @@ def initialize opts={}
248
@default_wait = appium_lib_opts.fetch :wait, 30
249
@last_waits = [@default_wait]
250
@sauce_username = appium_lib_opts.fetch :sauce_username, ENV['SAUCE_USERNAME']
251
+ @sauce_username = nil if @sauce_username.nil? || @sauce_username.empty?
252
@sauce_access_key = appium_lib_opts.fetch :sauce_access_key, ENV['SAUCE_ACCESS_KEY']
253
+ @sauce_access_key = nil if @sauce_access_key.nil? || @sauce_access_key.empty?
254
@port = appium_lib_opts.fetch :port, 4723
255
256
# Path to the .apk, .app or .app.zip.
0 commit comments