@tamasno1/safari-cli 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# safari-cli
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@tamasno1/safari-cli)
|
|
4
|
+
|
|
3
5
|
A command-line tool to control Safari on macOS via WebDriver. No MCP server needed — just a standalone CLI.
|
|
4
6
|
|
|
5
7
|
Talks directly to `safaridriver` (built into macOS) using the W3C WebDriver protocol. Session state is persisted to `~/.safari-cli/session.json` so commands work across terminal invocations.
|
|
@@ -16,13 +18,11 @@ Talks directly to `safaridriver` (built into macOS) using the W3C WebDriver prot
|
|
|
16
18
|
## Install
|
|
17
19
|
|
|
18
20
|
```bash
|
|
19
|
-
#
|
|
20
|
-
|
|
21
|
-
npm run build
|
|
22
|
-
npm link # makes `safari-cli` available globally
|
|
21
|
+
# Run directly with npx (no install needed)
|
|
22
|
+
npx @tamasno1/safari-cli <command>
|
|
23
23
|
|
|
24
|
-
# Or
|
|
25
|
-
|
|
24
|
+
# Or install globally from npm
|
|
25
|
+
npm install -g @tamasno1/safari-cli
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
## Quick Start
|