Get Webview Computed Style
webview_get_computed_styleRetrieve computed CSS styles and bounding box for any element in a mobile WebView using a CSS selector, enabling precise UI verification and layout debugging.
Instructions
取 webview 内某元素的 computed CSS + 包围盒(getComputedStyle)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| props | No | CSS 属性名数组,默认常用集 | |
| device | Yes | 目标设备 serial(同 mobile_list_available_devices 的 id) | |
| selector | Yes | CSS 选择器 |