Skip to content

Commit 28f6efb

Browse files
committed
Do not check platformName in passed caps
1 parent e491380 commit 28f6efb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/appium_lib/driver.rb

-2
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,6 @@ def initialize(opts = {})
321321
# https://code.google.com/p/selenium/source/browse/spec-draft.md?repo=mobile
322322
@appium_device = @caps[:platformName]
323323
@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)
326324

327325
# load common methods
328326
extend Appium::Common

0 commit comments

Comments
 (0)