Additional Resolutions

ScreenPy Appium adds the following Resolutions. For the base Resolution list, see ScreenPy’s Resolutions API reference.

IsTappable

class IsTappable(*args: Any, **kwargs: Any)

Match on a tappable element.

Abilities Required:

UseAnAndroidDevice UseAnIOSDevice

Examples:

the_actor.should(See.the(Element(LOGIN_BUTTON), IsTappable()))
matcher_function() screenpy_appium.resolutions.custom_matchers.is_tappable_element.IsTappableElement

This matcher matches any element that is visible and enabled.

IsVisible

class IsVisible(*args: Any, **kwargs: Any)

Match on a visible element.

Abilities Required:

UseAnAndroidDevice UseAnIOSDevice

Examples:

the_actor.should(See.the(Element(WELCOME_CAROUSEL), IsVisible()))
matcher_function() screenpy_appium.resolutions.custom_matchers.is_visible_element.IsVisibleElement

This matcher matches any element that is visible.