je_web_runner.api.mobile
Façade: Appium gestures.
- exception je_web_runner.api.mobile.AppiumGestureError
Bases:
WebRunnerExceptionRaised when the driver cannot execute the gesture.
- je_web_runner.api.mobile.double_tap(driver: Any, point: Point, gap_ms: int = 100) None
Two quick taps at
point.
- je_web_runner.api.mobile.long_press(driver: Any, point: Point, duration_ms: int = 1000) None
Hold the finger at
pointforduration_ms.
- je_web_runner.api.mobile.pinch(driver: Any, rect: Tuple[int, int, int, int], scale: float = 0.5, speed: int = 1500) None
Pinch the area inside
recttoscale(< 1= zoom out,> 1= zoom in).
- je_web_runner.api.mobile.scroll(driver: Any, direction: str, rect: Tuple[int, int, int, int] | None = None, percent: float = 0.7) None
Scroll
direction(up/down/left/right).