跳转到内容
Agentic Workflowdocs
v0.8.2免费安装

节点 / extension

Get All HTML

Get all the html from the page of the actual openend tab

页面内操作 扩展程序网页应用 — 不可用

此内容尚不支持你的语言。

Read the HTML of the page open in the active tab, or of one element on it, into a field.

工作流 · article-to-markdown.awf 4 个步骤

Capture Article as Markdown:包含 4 个步骤的工作流,从 When Started 开始,到 Copy to clipboard 结束。

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.

  • 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.
设置项类型作用
Output field name (必填)TextThe name of the output field.
DOM Selector Page elementThe selector of the DOM element to interact with.
Options GroupThe options for the node.
Options › Include input fields ToggleWhether to include the input fields in the output. 默认值: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.
  • Output

One item with your field holding the HTML as text, for example { "html": "<div id=\"product\">…</div>" }.

None. This node needs no connection and has no slots for other nodes.

  1. Open a product page and run the workflow from a Hotkey trigger.
  2. Add Get All HTML with Output field name = html and DOM Selector set to the product box.
  3. Add HTML Extract with HTML = {{ $input.html }}, Mode = Single value and Selector = .price.
  4. Remember the price with Data Store, Operation = Set.
  • “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.
Copy any article as clean Markdown 入门 · 3 分钟 无需设置
编辑此页

最近更新:

Was this page useful?
向 Aria 询问“Get All HTML”