testdriverparselisted
Install: claude install-skill testdriverai/testdriverai
<!-- Generated from parse.mdx. DO NOT EDIT. -->
## Overview
Parse the screen with OmniParser v2 to find all visible UI elements. TestDriver returns structured data. This includes element types, text content, interactivity levels, and bounding box coordinates.
This method examines all of the screen and returns each element that it finds. Use it for these:
- To understand the full UI layout of a screen
- To find all clickable or interactive elements
- To build custom element logic
- To debug which elements TestDriver can find
- To do an accessibility audit
<Note>
**Availability**: `parse()` needs an enterprise plan or a self-hosted plan. It uses OmniParser v2 on the server for element detection.
</Note>
## Syntax
```javascript
const result = await testdriver.parse()
```
## Parameters
None.
## Returns
`Promise<ParseResult>` - Object containing detected UI elements
### ParseResult
| Property | Type | Description |
|----------|------|-------------|
| `elements` | `ParsedElement[]` | Array of detected UI elements |
| `annotatedImageUrl` | `string` | URL of the annotated screenshot with bounding boxes |
| `imageWidth` | `number` | Width of the analyzed screenshot |
| `imageHeight` | `number` | Height of the analyzed screenshot |
### ParsedElement
| Property | Type | Description |
|----------|------|-------------|
| `index` | `number` | Element index |
| `type` | `string` | Element type (e.g. `"text"`, `"icon"`, `"button"`) |
| `content` | `string` | Text content or d