clean? | CleanInput | Specifies conditions for "cleaning" HTML, useful for minimizing the amount of markup returned for cases like LLMs and more. See nested options for parameters. |
rewrite? | HTMLRewriteInput | Rewrites captured resource URLs to archive-relative paths before returning HTML. |
selector? | string | The DOM selector of the given element you want to return the HTML of |
timeout? | number | The maximum amount of time, in milliseconds, to wait for the selector to appear, overriding any defaults. Default timeout is 30 seconds, or 30000. |
visible? | boolean | Whether or not to return the HTML content of the element only if it's visible Default false |