appium_get_window_size
Get the device screen dimensions in pixels to calculate accurate coordinates for swipes, taps, and scrolls during mobile test automation.
Instructions
Get the width and height of the device screen in pixels. Useful for calculating coordinates for swipes, taps, and scrolls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | Session ID to target. If omitted, uses the active session. |