All templates
Web AutomationIntermediate
Get Metadata of a Web Page
Robomotion•Updated 6 months ago

Overview
Navigates to a URL, reads its title and meta tags, and returns them as structured data. Useful for link previews or SEO audits.
Get Metadata of a Web Page
Metadata describes the content of web pages and contains keywords linked to them. Robomotion enables you to retrieve these metadata and analyze or manipulate them according to your needs.
What Get Metadata of a Web Page can do
- Input Dialog titled
Get metadata of a web page, defaultrobomotion.io→msg.url_input. - Normalise input (
Core.Programming.Function,outputs: 2) — cancel short-circuits toCore.Flow.Stop; otherwise trim, prependhttps://if missing, store asmsg.url. - Launch browser (
Core.Browser.Open,chrome, maximised) →msg.browser_id, then open the URL (Core.Browser.OpenLink, timeout 60) →msg.page_id. - Run four subflows in order — Show Title, Show Keywords, Show Description, Show HTML Source — each reads a piece of metadata via
Core.Browser.RunScriptand surfaces it in a dialog. - Close the browser (
Core.Browser.Close) before stopping.
Behind the scenes
Core.Browser.Open+Core.Browser.OpenLink+Core.Browser.RunScriptdrives Chrome/Chromium directly via CDP — no browser extension is needed.- Subflow order matters: Title → Keywords → Description → HTML Source, all before
Core.Browser.Close. Reordering the close ahead of any reader would leave the script without a page to query.