testdriverai 7.8.0-test.3 → 7.8.0-test.5
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## 7.8.0-test.5 (2026-03-13)
|
|
2
|
+
|
|
3
|
+
🔧 Maintenance
|
|
4
|
+
|
|
5
|
+
- Update deployment configuration to use dashes instead of dots in environment naming (baca4d32)
|
|
6
|
+
|
|
7
|
+
## 7.8.0-test.4 (2026-03-13)
|
|
8
|
+
|
|
9
|
+
## 📝 Documentation
|
|
10
|
+
|
|
11
|
+
- Update and streamline skill documentation for captcha, exec, and quickstart features [SDK] (86d90bbf)
|
|
12
|
+
- Remove outdated Moby integration references from documentation [SDK] (08fa8e18)
|
|
13
|
+
|
|
1
14
|
## 7.8.0-test.3 (2026-03-13)
|
|
2
15
|
|
|
3
16
|
## ✨ Features
|
|
@@ -198,7 +198,7 @@ await testdriver.exec('pwsh', '.\\setup.ps1', 60000, true);
|
|
|
198
198
|
|
|
199
199
|
```javascript
|
|
200
200
|
// Quick operations: 5000ms
|
|
201
|
-
await testdriver.exec('
|
|
201
|
+
await testdriver.exec('sh', 'ls -la', 5000);
|
|
202
202
|
|
|
203
203
|
// Installations: 30000-60000ms
|
|
204
204
|
await testdriver.exec('pwsh', 'npm install -g package', 30000);
|
|
@@ -271,27 +271,20 @@ describe('Code Execution', () => {
|
|
|
271
271
|
await testdriver.disconnect();
|
|
272
272
|
});
|
|
273
273
|
|
|
274
|
-
it('should execute
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
const title = await testdriver.exec('js', 'document.title', 5000);
|
|
279
|
-
console.log('Page title:', title);
|
|
280
|
-
|
|
281
|
-
// Manipulate DOM
|
|
282
|
-
await testdriver.exec('js', `
|
|
283
|
-
document.querySelector('#username').value = 'testuser';
|
|
284
|
-
`, 5000);
|
|
274
|
+
it('should execute shell commands on Linux', async () => {
|
|
275
|
+
// List directory
|
|
276
|
+
const files = await testdriver.exec('sh', 'ls -la', 5000);
|
|
277
|
+
console.log('Files:', files);
|
|
285
278
|
|
|
286
|
-
//
|
|
287
|
-
|
|
288
|
-
document.querySelector('#username').value
|
|
289
|
-
`, 5000);
|
|
279
|
+
// Create a file
|
|
280
|
+
await testdriver.exec('sh', 'echo "Hello World" > test.txt', 5000);
|
|
290
281
|
|
|
291
|
-
|
|
282
|
+
// Read the file
|
|
283
|
+
const content = await testdriver.exec('sh', 'cat test.txt', 5000);
|
|
284
|
+
expect(content).toContain('Hello World');
|
|
292
285
|
});
|
|
293
286
|
|
|
294
|
-
it('should install and use tools', async () => {
|
|
287
|
+
it('should install and use tools on Windows', async () => {
|
|
295
288
|
// Install tool
|
|
296
289
|
await testdriver.exec('pwsh', 'npm install -g http-server', 30000, true);
|
|
297
290
|
|
|
@@ -313,10 +306,6 @@ describe('Code Execution', () => {
|
|
|
313
306
|
`, 5000);
|
|
314
307
|
|
|
315
308
|
await testdriver.focusApplication('Google Chrome');
|
|
316
|
-
|
|
317
|
-
// Verify page loaded
|
|
318
|
-
const content = await testdriver.exec('js', 'document.body.textContent', 5000);
|
|
319
|
-
expect(content).toContain('Test Page');
|
|
320
309
|
});
|
|
321
310
|
});
|
|
322
311
|
```
|
|
@@ -324,5 +313,5 @@ describe('Code Execution', () => {
|
|
|
324
313
|
## Related Methods
|
|
325
314
|
|
|
326
315
|
- [`focusApplication()`](/v7/focus-application) - Focus apps before exec
|
|
327
|
-
- [`find()`](/v7/find) - Locate elements
|
|
328
|
-
- [`type()`](/v7/type) - Type text
|
|
316
|
+
- [`find()`](/v7/find) - Locate elements visually
|
|
317
|
+
- [`type()`](/v7/type) - Type text into inputs
|
|
@@ -22,7 +22,7 @@ TestDriver makes it easy to write automated computer-use tests for web browsers,
|
|
|
22
22
|
npx testdriverai init
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
This will walk you through creating a new project folder, installing dependencies,
|
|
25
|
+
This will walk you through creating a new project folder, installing dependencies, setting up your API key, and configuring MCP for your preferred AI assistant (VS Code, Cursor, Claude Desktop, etc.).
|
|
26
26
|
|
|
27
27
|
</Step>
|
|
28
28
|
|
package/docs/docs.json
CHANGED
package/docs/v7/captcha.mdx
CHANGED