Test capture
Open a page, find every element that matches a captured object, outline them for a few seconds and report how many match. Used by OneAgentStudio's Test button.
Command in the Browser toolkit · id ooa.browser/test_object · 5 inputs (2 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Address (URL) | String | Yes | Page to open. | |
| Captured object | Dictionary | Yes | The captured object to test. | |
| Browser | String | No | edge | Browser. |
| Wait (seconds) | Number | No | 10 | How long to wait for the page and the element. |
| Show (seconds) | Number | No | 4 | How long to keep the matches outlined. |
Outputs
| Output | Type | What it is |
|---|---|---|
| count | Number | How many elements match. |
| first | Dictionary | All properties of the element at the object's index, when it exists. |