We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e491380 commit 28f6efbCopy full SHA for 28f6efb
lib/appium_lib/driver.rb
@@ -321,8 +321,6 @@ def initialize(opts = {})
321
# https://code.google.com/p/selenium/source/browse/spec-draft.md?repo=mobile
322
@appium_device = @caps[:platformName]
323
@appium_device = @appium_device.is_a?(Symbol) ? @appium_device : @appium_device.downcase.strip.intern if @appium_device
324
- fail "platformName must be set. Not found in options: #{opts}" unless @appium_device
325
- fail 'platformName must be Android or iOS' unless [:android, :ios].include?(@appium_device)
326
327
# load common methods
328
extend Appium::Common
0 commit comments