nœuds / extension
Get All HTML
Get all the html from the page of the actual openend tab
Ce contenu n’est pas encore disponible dans votre langue.
Read the HTML of the page open in the active tab, or of one element on it, into a field.
Try it
Section titled “Try it”workflow · article-to-markdown.awf 4 étapes
Capture Article as Markdown : un workflow de 4 étapes, qui commence par When Started et se termine par Copy to clipboard.
What it does
Section titled “What it does”Get All HTML copies the HTML markup of the active tab, as it is right now in the browser, and stores it as text in the field you name in Output field name.
- With DOM Selector empty, you get the whole document, from the
<html>tag down. - With a selector, you get the first matching element, including its own tag.
- Because it reads the live page, content added by scripts after the page loaded is included.
- The output holds only the new field. Turn on Include input fields to keep the incoming item’s fields next to it.
It reads the main page only, not embedded frames.
When to use it
Section titled “When to use it”- Pass a block of markup to HTML Extract to pull out several values with selectors.
- Keep a copy of part of a page, for example with Save as File.
- If you only need the readable text, Get All Text is smaller and easier to feed to an AI node. To fetch HTML from a URL without opening it, use Get HTML from Link.
Inputs and settings
Section titled “Inputs and settings”| Réglage | Type | Ce que cela fait |
|---|---|---|
| Output field name (obligatoire) | Text | The name of the output field. |
| DOM Selector | Page element | The selector of the DOM element to interact with. |
| Options | Group | The options for the node. |
| Options › Include input fields | Toggle | Whether to include the input fields in the output. Par défaut : Off |
- Output field name: for example
html. Later nodes read it with{{ $input.html }}. - DOM Selector: click the crosshair button in the field, then click the element on the page, or type a CSS selector such as
#product. The Ping button flashes the element it matches.
Outputs
Section titled “Outputs”-
Output
One item with your field holding the HTML as text, for example { "html": "<div id=\"product\">…</div>" }.
Dependencies and credentials
Section titled “Dependencies and credentials”None. This node needs no connection and has no slots for other nodes.
Example workflow
Section titled “Example workflow”- Open a product page and run the workflow from a Hotkey trigger.
- Add Get All HTML with Output field name =
htmland DOM Selector set to the product box. - Add HTML Extract with HTML =
{{ $input.html }}, Mode = Single value and Selector =.price. - Remember the price with Data Store, Operation = Set.
Common issues
Section titled “Common issues”- “No content found”. DOM Selector matched nothing on the page. Use Ping to check it, or wait for the element with Wait For Element first.
- The HTML is very large. A whole page can be hundreds of kilobytes. Pick a smaller element in DOM Selector.
- Content inside an embedded frame is missing. Frames are not read. Open the frame’s address in its own tab with Tab Control.
- The node fails outside the extension. This node runs in the browser extension; install it or run the workflow from the extension.
Recipes with this node
Section titled “Recipes with this node”Related nodes
Section titled “Related nodes”- HTML Extract: pull values out of HTML.
- Get All Text: the same area as plain text.
- Get HTML of Selected Text: only the highlighted part.
- Get HTML from Link: fetch a URL’s HTML without opening it.