testdriverparselisted
Install: claude install-skill testdriverai/testdriverai
<!-- Generated from parse.mdx. DO NOT EDIT. -->
## Overview
Parse the current screen using OmniParser v2 to detect all visible UI elements. Returns structured data including element types, text content, interactivity levels, and bounding box coordinates.
This method analyzes the entire screen and returns every detected element. It's useful for:
- Understanding the full UI layout of a screen
- Finding all clickable or interactive elements
- Building custom element-based logic
- Debugging what elements TestDriver can detect
- Accessibility auditing
<Note>
**Availability**: `parse()` requires an enterprise or self-hosted plan. It uses OmniParser v2 server-side 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 description of