native-view-at-point
Inspect the deepest visible UIView at a raw native window point to reveal what is visually present, ignoring userInteractionEnabled settings.
Instructions
Inspect the deepest visible UIView at a raw native window point.
Unlike native-user-interactable-view-at-point, this ignores userInteractionEnabled, so it answers "what is visually here?" rather than "what would receive the touch?".
IMPORTANT: x and y are raw iOS window coordinates in points, NOT normalized [0,1] simulator tap coordinates.
If status is restart_required: call restart-app then retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Raw X coordinate in the app window's native point space. NOT normalized [0,1] tap space. | |
| y | Yes | Raw Y coordinate in the app window's native point space. NOT normalized [0,1] tap space. | |
| udid | Yes | Simulator UDID | |
| fields | No | View fields to include. Defaults: pointer, className, tag, frame, windowFrame, bounds, hidden, alpha, opaque, clipsToBounds, userInteractionEnabled, depth, identifier, label, layerName, nativeID. Additional: center, transform, contentMode, backgroundColor, tintColor | |
| bundleId | Yes | Bundle ID of the app | |
| maxDepth | No | Maximum depth for returned child/ancestor serialization (default 150) | |
| skipClasses | No | Exact UIView class names whose entire subtree should be pruned | |
| includeChildren | No | Include child views for the matched view (default false) | |
| includeAncestors | No | Include ancestor chain for the matched view (default true) | |
| skipClassPrefixes | No | Class name prefixes to prune entire subtrees |