Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.2 KB

File metadata and controls

58 lines (41 loc) · 1.2 KB
title vibium map

Map interactive page elements with @refs.

Synopsis

vibium map [flags]

Flags

    --selector string   Scope to elements within this CSS selector

Description

Scans the current page for interactive elements (links, buttons, inputs, selects, checkboxes, role-based widgets) and prints each one with a stable reference of the form @eN. You then pass those references to interaction commands like click, fill, or select.

References are stable for the lifetime of the page. When the DOM changes (navigation, dynamic re-render, etc.), call map again — or use diff map to see only what changed.

Output

Each line contains:

  • The reference (@e1, @e2, …)
  • The element role (link, button, input, select, …)
  • A short human-readable description (visible text, label, placeholder, etc.)

Example:

@e1  link    "Sign in"
@e2  input   placeholder="Email"
@e3  input   placeholder="Password"
@e4  button  "Continue"

Examples

vibium go https://example.com
vibium map

See also