We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64ace1e commit 898fe27Copy full SHA for 898fe27
lib/appium_lib/driver.rb
@@ -58,6 +58,8 @@ def update data, *args
58
ENV['APP_PATH'] = File.expand_path ENV['APP_PATH'] if ENV['APP_PATH'] &&
59
!ENV['APP_PATH'].empty?
60
61
+ # device is not case sensitive
62
+ ENV['DEVICE'] = ENV['DEVICE'].strip.downcase if ENV['DEVICE']
63
if ! %w(ios android selendroid).include? ENV['DEVICE']
64
raise 'DEVICE must be ios, android, or selendroid'
65
end
0 commit comments