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.

partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.

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.

contesto.by_class_name(value)

partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.

contesto.by_css_selector(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.

contesto.by_uiautomation(value)

partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.

contesto.by_accessibility_id(value)

partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.

contesto additional

contesto.by_sizzle(value)

partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.