testdriverai 4.2.20 → 4.2.22
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 +18 -6
- package/agent.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,19 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
# TestDriver.ai
|
|
4
4
|
|
|
5
|
-
Automate and scale QA with
|
|
5
|
+
Automate and scale QA with computer-use agents.
|
|
6
6
|
|
|
7
7
|
[Docs](https://docs.testdriver.ai) | [Website](https://testdriver.ai) | [GitHub Action](https://github.com/marketplace/actions/testdriver-ai) | [Join our Discord](https://discord.gg/a8Cq739VWn)
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
https://github.com/user-attachments/assets/4719e834-652a-43ba-8b8c-24ea6f357ae3
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# Install via NPM
|
|
18
|
+
|
|
11
19
|
```sh
|
|
12
20
|
npm install testdriverai -g
|
|
13
21
|
```
|
|
14
22
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
23
|
+
# Run Init
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
testdriverai init
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
[Follow the instructions on our docs for more.](https://docs.testdriver.ai/overview/quickstart).
|
|
30
|
+
|
|
31
|
+
# About
|
|
18
32
|
|
|
19
33
|
TestDriver isn't like any test framework you've used before. TestDriver is an OS Agent for QA. TestDriver uses AI vision along with mouse and keyboard emulation to control the entire desktop. It's more like a QA employee than a test framework. This kind of black-box testing has some major advantages:
|
|
20
34
|
|
|
@@ -24,8 +38,6 @@ TestDriver isn't like any test framework you've used before. TestDriver is an OS
|
|
|
24
38
|
|
|
25
39
|
### Demo
|
|
26
40
|
|
|
27
|
-
https://github.com/user-attachments/assets/fba08020-a751-4d9e-9505-50db541fd38b
|
|
28
|
-
|
|
29
41
|
# Examples
|
|
30
42
|
|
|
31
43
|
- Test any user flow on any website in any browser
|
package/agent.js
CHANGED
|
@@ -229,7 +229,7 @@ const dieOnFatal = async (error) => {
|
|
|
229
229
|
// and responds. notice `actOnMarkdown` which will continue
|
|
230
230
|
// the thread until there are no more codeblocks to execute
|
|
231
231
|
const haveAIResolveError = async (error, markdown, depth = 0, undo = true) => {
|
|
232
|
-
if (
|
|
232
|
+
if (error.fatal) {
|
|
233
233
|
return await dieOnFatal(error);
|
|
234
234
|
}
|
|
235
235
|
|