We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ba83e5 commit 6f18e6fCopy full SHA for 6f18e6f
lib/appium_lib/driver.rb
@@ -89,7 +89,7 @@ def self.load_appium_txt(opts = {})
89
data = File.read toml
90
data = TOML::Parser.new(data).parsed
91
# TOML creates string keys. must symbolize
92
- data = Appium::symbolize_keys data
+ data = Appium.symbolize_keys data
93
Appium::Logger.ap_info data unless data.empty? if verbose
94
95
if data && data[:caps] && data[:caps][:app] && !data[:caps][:app].empty?
@@ -271,7 +271,7 @@ def initialize(opts = {})
271
$driver.driver_quit if $driver
272
raise 'opts must be a hash' unless opts.is_a? Hash
273
274
- opts = Appium::symbolize_keys opts
+ opts = Appium.symbolize_keys opts
275
276
# default to {} to prevent nil.fetch and other nil errors
277
@caps = opts[:caps] || {}
0 commit comments