Extract list
Read repeated items (product cards, search results, list entries) into a table: one row per item, one column per field found inside it.
Command in the Browser toolkit · id ooa.browser/extract_list · 7 inputs (1 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Captured object | Dictionary | No | A captured item (one card or row): every element like it is read. | |
| Selector | String | No | Selector of the repeated item, used when no captured item is given. | |
| Fields | Dictionary | Yes | Column name to a selector inside the item; add @attribute to read an attribute (a@href); an empty selector reads the item's own text. | |
| Maximum items | Number | No | Read at most this many items (all when empty). | |
| Wait up to (milliseconds) | Number | No | 30000 | How long to wait for the element, in milliseconds. |
| Session | String | No | browser | Session name. |
| Window | Dictionary | No | Which window to act in. Leave empty to use the session's current tab. {"source": "browser", "title": "Invoice * - Shop", "title_match": "wildcard", "url": "...", "url_match": "contains", "browser": "edge"} switches to the first open tab whose title and/or address matches (also in attached browsers, and in one listening on port 9222); {"source": "variable", "variable": "session name"} uses that browser session; {"source": "application", "title": "..."} names a desktop window, which works only when it is a window of an attached browser. Matches: wildcard (default for the title), contains (default for the address), equals or regex; text matches ignore case. Values may use variables. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | One row per item. |
| count | Number | Number of items. |