Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 462 Bytes

html.md

File metadata and controls

33 lines (23 loc) · 462 Bytes
title vibium html

Get HTML content of the page or an element.

Synopsis

vibium html [selector] [flags]

Flags

    --outer   Return outerHTML instead of innerHTML

Examples

vibium html
# Get full page HTML

vibium html "div.content"
# Get innerHTML of a specific element

vibium html "div.content" --outer
# Get outerHTML of a specific element

vibium html https://example.com "h1"
# Navigate then get element HTML