testdriverai 7.8.0-test.30 → 7.8.0-test.32

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.
@@ -4,6 +4,7 @@ const { events } = require("../events");
4
4
  const logger = require("./logger");
5
5
  const { version } = require("../../package.json");
6
6
  const { withRetry, getSentryTraceHeaders } = require("./sdk");
7
+ const sentry = require("../../lib/sentry");
7
8
 
8
9
  const createSandbox = function (emitter, analytics, sessionInstance) {
9
10
  class Sandbox {
@@ -436,7 +437,12 @@ const createSandbox = function (emitter, analytics, sessionInstance) {
436
437
  if (!resolved) {
437
438
  resolved = true;
438
439
  self._ctrlChannel.unsubscribe('control', onCtrl);
439
- reject(new Error('Runner agent did not signal readiness within ' + readyTimeout + 'ms'));
440
+ var err = new Error('Runner agent did not signal readiness within ' + readyTimeout + 'ms');
441
+ sentry.captureException(err, {
442
+ tags: { phase: 'runner_ready', connection_type: 'create' },
443
+ extra: { readyTimeout: readyTimeout, sandboxId: reply.sandboxId },
444
+ });
445
+ reject(err);
440
446
  }
441
447
  }, readyTimeout);
442
448
  if (timer.unref) timer.unref();
@@ -549,7 +555,12 @@ const createSandbox = function (emitter, analytics, sessionInstance) {
549
555
  if (!resolved) {
550
556
  resolved = true;
551
557
  self._ctrlChannel.unsubscribe('control', onCtrl);
552
- reject(new Error('Runner agent did not signal readiness within ' + readyTimeout + 'ms (direct connection)'));
558
+ var err = new Error('Runner agent did not signal readiness within ' + readyTimeout + 'ms (direct connection)');
559
+ sentry.captureException(err, {
560
+ tags: { phase: 'runner_ready', connection_type: 'direct' },
561
+ extra: { readyTimeout: readyTimeout, sandboxId: reply.sandboxId, instanceId: message.instanceId },
562
+ });
563
+ reject(err);
553
564
  }
554
565
  }, readyTimeout);
555
566
  if (timer.unref) timer.unref();
@@ -2,104 +2,104 @@
2
2
  "$schema": "./examples-manifest.schema.json",
3
3
  "examples": {
4
4
  "assert.test.mjs": {
5
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b6206a177a05bccd1cc",
6
- "lastUpdated": "2026-03-03T00:32:25.279Z"
5
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f24840cc10fb18cf6746",
6
+ "lastUpdated": "2026-03-18T00:46:04.770Z"
7
7
  },
8
8
  "drag-and-drop.test.mjs": {
9
9
  "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b42fc0ac3cc632a918b",
10
10
  "lastUpdated": "2026-03-03T00:32:25.275Z"
11
11
  },
12
12
  "exec-pwsh.test.mjs": {
13
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b42565d339e8065f180",
14
- "lastUpdated": "2026-03-03T00:32:25.275Z"
13
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f23308cd8455316368d7",
14
+ "lastUpdated": "2026-03-18T00:46:04.761Z"
15
15
  },
16
16
  "match-image.test.mjs": {
17
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b42258e8885264fc704",
18
- "lastUpdated": "2026-03-03T00:32:25.275Z"
17
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f23508cd8455316368d9",
18
+ "lastUpdated": "2026-03-18T00:46:04.761Z"
19
19
  },
20
20
  "scroll-until-text.test.mjs": {
21
21
  "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b99dc33133fc0da9440",
22
22
  "lastUpdated": "2026-03-03T00:32:25.282Z"
23
23
  },
24
24
  "hover-text-with-description.test.mjs": {
25
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b820d4a5265e44e7d89",
26
- "lastUpdated": "2026-03-03T00:32:25.282Z"
25
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f23740cc10fb18cf6735",
26
+ "lastUpdated": "2026-03-18T00:46:04.761Z"
27
27
  },
28
28
  "windows-installer.test.mjs": {
29
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b42565d339e8065f17f",
30
- "lastUpdated": "2026-03-03T00:32:25.275Z"
29
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f23acb6e450d5272d316",
30
+ "lastUpdated": "2026-03-18T00:46:04.761Z"
31
31
  },
32
32
  "exec-output.test.mjs": {
33
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b42fc0ac3cc632a918c",
34
- "lastUpdated": "2026-03-03T00:32:25.275Z"
33
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f23c08cd8455316368dc",
34
+ "lastUpdated": "2026-03-18T00:46:04.761Z"
35
35
  },
36
36
  "chrome-extension.test.mjs": {
37
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b91fc0ac3cc632a91a0",
38
- "lastUpdated": "2026-03-03T00:32:25.282Z"
37
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f232cb6e450d5272d311",
38
+ "lastUpdated": "2026-03-18T00:46:04.761Z"
39
39
  },
40
40
  "launch-vscode-linux.test.mjs": {
41
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b91113035da665496a6",
42
- "lastUpdated": "2026-03-03T00:32:25.282Z"
41
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f23940cc10fb18cf673a",
42
+ "lastUpdated": "2026-03-18T00:46:04.761Z"
43
43
  },
44
44
  "hover-image.test.mjs": {
45
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b77fc0ac3cc632a9198",
46
- "lastUpdated": "2026-03-03T00:32:25.279Z"
45
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f23d08cd8455316368de",
46
+ "lastUpdated": "2026-03-18T00:46:04.762Z"
47
47
  },
48
48
  "installer.test.mjs": {
49
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b570446888b52a4e1c9",
50
- "lastUpdated": "2026-03-03T00:32:25.277Z"
49
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f23fcb6e450d5272d317",
50
+ "lastUpdated": "2026-03-18T00:46:04.767Z"
51
51
  },
52
52
  "type.test.mjs": {
53
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b8d49845ced0b71e2bf",
54
- "lastUpdated": "2026-03-03T00:32:25.282Z"
53
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f24108cd8455316368df",
54
+ "lastUpdated": "2026-03-18T00:46:04.767Z"
55
55
  },
56
56
  "press-keys.test.mjs": {
57
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b800d4a5265e44e7d86",
58
- "lastUpdated": "2026-03-03T00:32:25.281Z"
57
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f24640cc10fb18cf6745",
58
+ "lastUpdated": "2026-03-18T00:46:04.770Z"
59
59
  },
60
60
  "scroll-keyboard.test.mjs": {
61
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b82258e8885264fc728",
62
- "lastUpdated": "2026-03-03T00:32:25.281Z"
61
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f24408cd8455316368e1",
62
+ "lastUpdated": "2026-03-18T00:46:04.770Z"
63
63
  },
64
64
  "scroll.test.mjs": {
65
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b83113035da665496a3",
66
- "lastUpdated": "2026-03-03T00:32:25.282Z"
65
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f243cb6e450d5272d319",
66
+ "lastUpdated": "2026-03-18T00:46:04.767Z"
67
67
  },
68
68
  "scroll-until-image.test.mjs": {
69
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b4549845ced0b71e2b0",
70
- "lastUpdated": "2026-03-03T00:32:25.276Z"
69
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f24bcb6e450d5272d31b",
70
+ "lastUpdated": "2026-03-18T00:46:04.770Z"
71
71
  },
72
72
  "prompt.test.mjs": {
73
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b45b9fa9df65266123f",
74
- "lastUpdated": "2026-03-03T00:32:25.276Z"
73
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f24d08cd8455316368e2",
74
+ "lastUpdated": "2026-03-18T00:46:04.770Z"
75
75
  },
76
76
  "focus-window.test.mjs": {
77
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b4549845ced0b71e2b1",
78
- "lastUpdated": "2026-03-03T00:32:25.276Z"
77
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f24e08cd8455316368e3",
78
+ "lastUpdated": "2026-03-18T00:46:04.770Z"
79
79
  },
80
80
  "captcha-api.test.mjs": {
81
81
  "url": "https://console.testdriver.ai/runs/698f7df69e27ce1528d7d087/698f7fb0d3b320ad547d9d44",
82
82
  "lastUpdated": "2026-02-13T19:55:05.951Z"
83
83
  },
84
84
  "element-not-found.test.mjs": {
85
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b6f0d4a5265e44e7d7b",
86
- "lastUpdated": "2026-03-03T00:32:25.279Z"
85
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f252cb6e450d5272d31d",
86
+ "lastUpdated": "2026-03-18T00:46:04.773Z"
87
87
  },
88
88
  "formatted-logging.test.mjs": {
89
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b60258e8885264fc711",
90
- "lastUpdated": "2026-03-03T00:32:25.279Z"
89
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f25040cc10fb18cf6747",
90
+ "lastUpdated": "2026-03-18T00:46:04.770Z"
91
91
  },
92
92
  "hover-text.test.mjs": {
93
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b79dc33133fc0da9439",
94
- "lastUpdated": "2026-03-03T00:32:25.280Z"
93
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f25508cd8455316368e7",
94
+ "lastUpdated": "2026-03-18T00:46:04.773Z"
95
95
  },
96
96
  "no-provision.test.mjs": {
97
97
  "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b7706a177a05bccd1cf",
98
98
  "lastUpdated": "2026-03-03T00:32:25.279Z"
99
99
  },
100
100
  "ai.test.mjs": {
101
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b8f06a177a05bccd1dc",
102
- "lastUpdated": "2026-03-03T00:32:25.282Z"
101
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f253cb6e450d5272d31e",
102
+ "lastUpdated": "2026-03-18T00:46:04.773Z"
103
103
  },
104
104
  "popup-loading.test.mjs": {
105
105
  "url": "https://console.testdriver.ai/runs/698bc89f7140c3fa7daaca8d/698bca7f7140c3fa7daacbf7",
@@ -134,12 +134,12 @@
134
134
  "lastUpdated": "2026-02-13T19:55:05.953Z"
135
135
  },
136
136
  "findall-coffee-icons.test.mjs": {
137
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b7afc0ac3cc632a919b",
138
- "lastUpdated": "2026-03-03T00:32:25.280Z"
137
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f24acb6e450d5272d31a",
138
+ "lastUpdated": "2026-03-18T00:46:04.770Z"
139
139
  },
140
140
  "parse.test.mjs": {
141
- "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b80aa712ecd3dea731c",
142
- "lastUpdated": "2026-03-03T00:32:25.281Z"
141
+ "url": "https://console-test.testdriver.ai/runs/69b9f230cb6e450d5272d30e/69b9f25740cc10fb18cf6748",
142
+ "lastUpdated": "2026-03-18T00:46:04.773Z"
143
143
  },
144
144
  "flake-diffthreshold-001.test.mjs": {
145
145
  "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62bcafc0ac3cc632a91aa",
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* ai.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b8f06a177a05bccd1dc/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f253cb6e450d5272d31e/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* assert.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b6206a177a05bccd1cc/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f24840cc10fb18cf6746/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* captcha-api.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/698f7fb0d3b320ad547d9d44/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/698f7fb0d3b320ad547d9d44/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* chrome-extension.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b91fc0ac3cc632a91a0/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f232cb6e450d5272d311/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* drag-and-drop.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b42fc0ac3cc632a918b/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69a62b42fc0ac3cc632a918b/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* element-not-found.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b6f0d4a5265e44e7d7b/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f252cb6e450d5272d31d/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* exec-output.test.mjs output */}
14
14
  <iframe
15
- src="https://testdriver-api.onrender.com/api/v1/testdriver/testcase/69a62b42fc0ac3cc632a918c/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f23c08cd8455316368dc/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* exec-pwsh.test.mjs output */}
14
14
  <iframe
15
- src="https://testdriver-api.onrender.com/api/v1/testdriver/testcase/69a62b42565d339e8065f180/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f23308cd8455316368d7/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* focus-window.test.mjs output */}
14
14
  <iframe
15
- src="https://testdriver-api.onrender.com/api/v1/testdriver/testcase/69a62b4549845ced0b71e2b1/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f24e08cd8455316368e3/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* hover-image.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b77fc0ac3cc632a9198/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f23d08cd8455316368de/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* hover-text.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b79dc33133fc0da9439/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f25508cd8455316368e7/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* installer.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b570446888b52a4e1c9/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f23fcb6e450d5272d317/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* launch-vscode-linux.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b91113035da665496a6/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f23940cc10fb18cf673a/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* match-image.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b42258e8885264fc704/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f23508cd8455316368d9/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* press-keys.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b800d4a5265e44e7d86/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f24640cc10fb18cf6745/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* scroll-keyboard.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b82258e8885264fc728/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f24408cd8455316368e1/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* scroll-until-image.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b4549845ced0b71e2b0/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f24bcb6e450d5272d31b/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* scroll-until-text.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b99dc33133fc0da9440/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69a62b99dc33133fc0da9440/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* scroll.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b83113035da665496a3/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f243cb6e450d5272d319/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* type.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b8d49845ced0b71e2bf/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f24108cd8455316368df/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -12,7 +12,7 @@ Watch this test execute in a real sandbox environment:
12
12
 
13
13
  {/* windows-installer.test.mjs output */}
14
14
  <iframe
15
- src="https://api.testdriver.ai/api/v1/testdriver/testcase/69a62b42565d339e8065f17f/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/69b9f23acb6e450d5272d316/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -82,6 +82,11 @@ function initializeSentry() {
82
82
  if (isUserCodeError && (exception.type === "ReferenceError" || exception.type === "TypeError")) {
83
83
  return null;
84
84
  }
85
+
86
+ // Filter out ElementNotFoundError - expected test outcome, not a crash
87
+ if (exception.type === "ElementNotFoundError") {
88
+ return null;
89
+ }
85
90
  }
86
91
  }
87
92
 
package/lib/sentry.js CHANGED
@@ -85,6 +85,11 @@ if (isEnabled()) {
85
85
  return null;
86
86
  }
87
87
 
88
+ // Filter out ElementNotFoundError - expected test outcome, not a crash
89
+ if (error && error.name === "ElementNotFoundError") {
90
+ return null;
91
+ }
92
+
88
93
  return event;
89
94
  },
90
95
  });
@@ -84,6 +84,10 @@ if (isSentryEnabled()) {
84
84
  if (error && typeof error === "object" && "name" in error && error.name === "TestFailure") {
85
85
  return null;
86
86
  }
87
+ // Filter out ElementNotFoundError - expected test outcome, not a crash
88
+ if (error && typeof error === "object" && "name" in error && error.name === "ElementNotFoundError") {
89
+ return null;
90
+ }
87
91
  return event;
88
92
  },
89
93
  });
@@ -99,6 +99,11 @@ if (isSentryEnabled()) {
99
99
  if (error && typeof error === "object" && "name" in error && (error as { name: string }).name === "TestFailure") {
100
100
  return null;
101
101
  }
102
+
103
+ // Filter out ElementNotFoundError - expected test outcome, not a crash
104
+ if (error && typeof error === "object" && "name" in error && (error as { name: string }).name === "ElementNotFoundError") {
105
+ return null;
106
+ }
102
107
 
103
108
  return event;
104
109
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "7.8.0-test.30",
3
+ "version": "7.8.0-test.32",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "sdk.js",
6
6
  "types": "sdk.d.ts",