Query the League client DOM
lol_dom_queryRun CSS queries on the League client UI to inspect matched elements, returning their tag, id, class, and text. Optionally include extra properties, using Pengu Loader's debugging port.
Instructions
Run document.querySelector(All) inside the client UI and return a description of the matches (tag, id, className, trimmed text, plus any requested properties). Needs Pengu Loader's remote debugging port; check lol_status if it fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | true returns every match, false (default) the first | |
| props | No | extra element properties or attributes to include, e.g. ["disabled", "href"] | |
| selector | Yes | CSS selector, e.g. ".lol-uikit-flat-button" |