Skip to content

vibium attr

Get an HTML attribute value from an element.

vibium attr [selector] [attribute] [flags]
Terminal window
vibium attr "a" "href"
# Get the href of the first link
vibium attr "img" "src"
# Get the image source URL