You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Find the first element matching the given arguments
15
23
#
24
+
# Android can find with uiautomator like a [UISelector](http://developer.android.com/tools/help/uiautomator/UiSelector.html).
25
+
# iOS can find with a [UIAutomation command](https://developer.apple.com/library/ios/documentation/ToolsLanguages/Reference/UIAWindowClassReference/UIAWindow/UIAWindow.html#//apple_ref/doc/uid/TP40009930).
26
+
# iOS, only for XCUITest(WebDriverAgent), can find with a [class chain]( https://github.com/facebook/WebDriverAgent/wiki/Queries)
27
+
#
16
28
# @overload find_element(how, what)
17
29
# @param [Symbol, String] how The method to find the element by
18
30
# @param [String] what The locator to use
31
+
#
19
32
# @overload find_element(opts)
20
33
# @param [Hash] opts Find options
21
34
# @option opts [Symbol] :how Key named after the method to find the element by, containing the locator
22
35
# @return [Element]
23
-
#
24
36
# @raise [Error::NoSuchElementError] if the element doesn't exist
0 commit comments