We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c03f03e commit 087d654Copy full SHA for 087d654
CHANGELOG.md
@@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
6
- Add `window_rect`
7
8
### Bug fixes
9
+- Make `@driver.automation_name` symbol when someone define the `automationName` with the server argument.
10
11
### Deprecations
12
lib/appium_lib_core/driver.rb
@@ -458,7 +458,9 @@ def set_automation_name
458
# @private
459
def set_automation_name_if_nil
460
return unless @automation_name.nil?
461
- @automation_name = @driver.capabilities['automationName']
+ @automation_name = if @driver.capabilities['automationName']
462
+ @driver.capabilities['automationName'].intern
463
+ end
464
end
465
466
0 commit comments