Finding Elements¶
Find¶
-
contesto.
find_element
(obj, locator, timeout=None)¶
-
contesto.
find_elements
(obj, locator, timeout=None)¶
Locator¶
-
class
contesto.
Locator
(by, value)¶
classical¶
-
contesto.
by_id
(value)¶ partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.
-
contesto.
by_xpath
(value)¶ partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.
-
contesto.
by_link_text
(value)¶ partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.
-
contesto.
by_partial_link_text
(value)¶ partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.
-
contesto.
by_name
(value)¶ partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.
-
contesto.
by_tag_name
(value)¶ partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.
mobile additional¶
-
class
contesto.
JavaUiSelector
¶
-
contesto.
by_uiautomator
(value)¶ partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.