Weles/Docs

CLI command

weles open

Navigate in the fingerprinted browser and print one JSON result line.

Purpose#

Navigate in the fingerprinted browser and print one JSON result line.

Invocation#

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

Options#

Options of weles open
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.
--textPrint document body text after navigation.
--screenshotSave a screenshot after navigation.
--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 open --help` prints these usage lines and never runs the command.