lib/appium_lib/driver.rb in appium_lib-9.4.3 vs lib/appium_lib/driver.rb in appium_lib-9.4.4
- old
+ new
@@ -404,14 +404,13 @@
@automation_name = @caps[:automationName] if @caps[:automationName]
# load common methods
extend Appium::Common
extend Appium::Device
+
if device_is_android?
- # load Android specific methods
extend Appium::Android
else
- # load iOS specific methods
extend Appium::Ios
extend Appium::Ios::XcuitestGesture if automation_name_is_xcuitest? # Override touch actions
end
# apply os specific patches