Skip to content

Commit 803cbbb

Browse files
committed
add downcase strip
1 parent 9e0f140 commit 803cbbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/appium_lib_core/driver.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def set_automation_name
459459
def set_automation_name_if_nil
460460
return unless @automation_name.nil?
461461
@automation_name = if @driver.capabilities['automationName']
462-
@driver.capabilities['automationName'].intern
462+
@driver.capabilities['automationName'].downcase.strip.intern
463463
end
464464
end
465465

0 commit comments

Comments
 (0)