h17-webpilot 0.1.0 → 0.1.1
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 +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Control Chromium through a WebSocket protocol. Any language can connect. Built-i
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install webpilot
|
|
10
|
+
npm install h17-webpilot
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Quick Start
|
|
@@ -15,7 +15,7 @@ npm install webpilot
|
|
|
15
15
|
### 1. Configure
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
cp node_modules/webpilot/human-browser.config.example.js human-browser.config.js
|
|
18
|
+
cp node_modules/h17-webpilot/human-browser.config.example.js human-browser.config.js
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
Edit `human-browser.config.js` — set your browser path:
|
|
@@ -55,7 +55,7 @@ wp> ss
|
|
|
55
55
|
#### Node.js (programmatic)
|
|
56
56
|
|
|
57
57
|
```javascript
|
|
58
|
-
const { startWithPage } = require('webpilot');
|
|
58
|
+
const { startWithPage } = require('h17-webpilot');
|
|
59
59
|
|
|
60
60
|
const { page } = await startWithPage();
|
|
61
61
|
await page.goto('https://example.com');
|
|
@@ -122,7 +122,7 @@ const {
|
|
|
122
122
|
BridgeElement, // DOM element wrapper
|
|
123
123
|
BridgeKeyboard, // Keyboard input
|
|
124
124
|
BridgeCursor, // Mouse cursor with bezier movement
|
|
125
|
-
} = require('webpilot');
|
|
125
|
+
} = require('h17-webpilot');
|
|
126
126
|
```
|
|
127
127
|
|
|
128
128
|
## Architecture
|