zoom
Performs a zoom gesture on the given element on the screen.
정보
Zooming is done based on native mobile gestures. It is only supported for the following drivers:
- appium-uiautomator2-driver for Android
- appium-xcuitest-driver for iOS
This command only works with the following up-to-date components:
- Appium server (version 2.0.0 or higher)
appium-uiautomator2-driver
(for Android)appium-xcuitest-driver
(for iOS)
Make sure your local or cloud-based Appium environment is regularly updated to avoid compatibility issues.
Usage
$(selector).zoom({ duration, scale })