Weles/Docs

CLI command

weles screenshot

Navigate and save a full-page screenshot; same flags as open.

Purpose#

Navigate and save a full-page screenshot; same flags as open.

Invocation#

Usage
weles screenshot <url> <file> [--headless] [--browser chromium|firefox] [--wait-for-text <text>] [--json]

Options#

Options of weles screenshot
OptionEffect
--headlessLaunch without a visible browser window.
--browserBrowser engine passed to AsyncNewBrowser (default: chromium).
--wait-for-textWait for matching visible text before reading or capturing.
--jsonPrint the answer as one JSON document instead of key: value lines. release surface always prints its JSON document: it is the file a release carries.

Help#

`weles screenshot --help` prints these usage lines and never runs the command.