We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 5d40446 commit 20307a0Copy full SHA for 20307a0
lib/appium_lib/android/client_xpath.rb
@@ -33,11 +33,15 @@ def _client_xpath(opts = {})
33
_nodeset_to_uiselector nodes: nodes, first: first
34
end
35
36
+ # @deprecated Please use :uiautomator or :xpath strategy directly
37
def client_xpath(xpath)
38
+ warn '[DEPRECATION] client_xpath will be removed. Please use :uiautomator or :xpath strategy directly.'
39
find_element :uiautomator, _client_xpath(xpath: xpath, first: true)
40
41
42
43
def client_xpaths(xpath)
44
+ warn '[DEPRECATION] client_xpaths will be removed. Please use :uiautomator or :xpath strategy directly.'
45
find_elements :uiautomator, _client_xpath(xpath: xpath, first: false)
46
47
0 commit comments