tvos_focus
Apple TV only. Move focus to the element whose label or accessibility identifier matches label, stepping the focus ring until it holds focus, then press Select unless select:false. The TV equivalent of tapping by label — no coordinates, and it reaches an element that is not yet on screen (a coordinate cannot). Read ios_page_source for the label to pass; a home-screen tile carries the app in its label="…". Remote keys (arrows, menu, home, playpause) go through ios_tv_button; type into a focused field with ios_tv_text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | Apple TV UDID or name | |
| label | Yes | Label or accessibility identifier of the element to focus | |
| select | No | Press Select once focused (default true); false just moves focus |