🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

browser-pilot-cli

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-pilot-cli - npm Package Compare versions

Comparing version
0.1.2
to
0.1.3
+12
-6
dist/cli.js

@@ -552,3 +552,4 @@ #!/usr/bin/env node

bp type <ref> <text> # input text \u2014 returns updated snapshot
bp press <key> # keyboard \u2014 returns updated snapshot
bp keyboard <text> # type via keyboard events (Google Docs etc.)
bp press <key> # press key \u2014 returns updated snapshot
bp eval <js> # run JavaScript (escape hatch for anything)

@@ -567,8 +568,13 @@

Canvas editors (Google Docs, Sheets, Figma):
bp keyboard "text" --click ".editor" # click to focus, then type
bp keyboard "text" --clear # select all + delete, then type
bp press Meta+b # toggle bold (works in Docs)
Edge cases:
bp upload <ref> <filepath> # file input upload
bp auth <user> <pass> # HTTP Basic Auth
bp frame # list iframes
bp frame 1 # eval in iframe context
bp frame 0 # back to top frame
bp upload <filepath> # file input upload (auto-detect)
bp auth <user> <pass> # HTTP Basic Auth
bp frame # list iframes
bp frame 1 # eval in iframe context
bp frame 0 # back to top frame
Dialogs (alert/confirm) are auto-handled by the daemon.

@@ -575,0 +581,0 @@

{
"name": "browser-pilot-cli",
"version": "0.1.2",
"version": "0.1.3",
"description": "CLI tool to control your browser via Chrome DevTools Protocol",

@@ -5,0 +5,0 @@ "type": "module",