Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
rodney
dist
.DS_Store
.env
.tmp/
Empty file added .tmp/keep
Empty file.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ rodney select "#dropdown" "value" # Select dropdown by value
rodney submit "form#login" # Submit a form
rodney hover ".menu-item" # Hover over element
rodney focus "#email" # Focus element
rodney cookie set session abc123 --domain example.com
rodney cookie set prefs dark --domain example.com --path /app --http-only --same-site lax
rodney cookie list # List cookies for current page URL
rodney cookie get session # Print just the cookie value
rodney cookie delete session --domain example.com
```

### Wait for conditions
Expand Down
13 changes: 12 additions & 1 deletion help.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
rodney - Chrome automation from the command line

Browser lifecycle:
rodney start [--show] [--insecure | -k] Launch Chrome (headless by default, --show for visible)
rodney start [--show] [--insecure | -k] [--no-gpu]
Launch Chrome (headless by default, --show for visible)
--no-gpu disables GPU acceleration; needed in containers
and VMs (Docker, Colima, Lima) with no usable GPU
rodney connect <host:port> Connect to existing Chrome on remote debug port
rodney stop Shut down Chrome
rodney status Show browser status
Expand Down Expand Up @@ -32,6 +35,12 @@ Interaction:
rodney submit <selector> Submit a form
rodney hover <selector> Hover over an element
rodney focus <selector> Focus an element
rodney cookie set <name> <value> --domain <domain> [--path <path>] [--secure] [--http-only] [--same-site <mode>]
Set a browser cookie for a domain
rodney cookie list List cookies for the current page URL
rodney cookie get <name> Print a cookie value for the current page URL
rodney cookie delete <name> --domain <domain> [--path <path>]
Delete a browser cookie by domain/path

Waiting:
rodney wait <selector> Wait for element to appear
Expand Down Expand Up @@ -73,6 +82,8 @@ Use "rodney start --local" to create a directory-scoped session.

Environment:
RODNEY_HOME Override data directory (default: ~/.rodney)
ROD_CHROME_BIN Use a specific Chrome/Chromium binary instead
of the downloaded one (e.g. your installed Chrome)

Exit codes:
0 Success
Expand Down
Loading