Skip to content

Commit cae1716

Browse files
committed
chore: refer to the prefix
1 parent 954930d commit cae1716

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
@@ -707,7 +707,7 @@ def set_automation_name_if_nil
707707
end
708708

709709
def get_cap(name)
710-
name_with_prefix = "appium:#{name}"
710+
name_with_prefix = "#{::Appium::Core::Base::Bridge::APPIUM_PREFIX}#{name}"
711711
@caps[convert_to_symbol name] ||
712712
@caps[name] ||
713713
@caps[convert_to_symbol name_with_prefix] ||

0 commit comments

Comments
 (0)