Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Address (URL)StringYesPage to open.
Captured objectDictionaryYesThe captured object to test.
BrowserStringNoedgeBrowser.
Wait (seconds)NumberNo10How long to wait for the page and the element.
Show (seconds)NumberNo4How long to keep the matches outlined.

Outputs​

OutputTypeWhat it is
countNumberHow many elements match.
firstDictionaryAll properties of the element at the object's index, when it exists.