@testdriverai/agent 7.9.97-canary → 7.9.98-canary

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.
@@ -2,18 +2,18 @@
2
2
  "$schema": "./examples-manifest.schema.json",
3
3
  "examples": {
4
4
  "assert.test.mjs": {
5
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a17917a7d423e81b390fab1",
6
- "replayUrl": "https://console-test.testdriver.ai/replay/6a1798e07d423e81b390fb43?share=UqiUSmkhK2HQemcBtpVI3w",
7
- "embedUrl": "https://console-test.testdriver.ai/replay/6a1798e07d423e81b390fb43?share=UqiUSmkhK2HQemcBtpVI3w&embed=true",
8
- "lastUpdated": "2026-05-28T01:22:47.847Z"
5
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a351be28fe3cfa69438bf",
6
+ "replayUrl": "https://console-test.testdriver.ai/replay/6a1a3c4d8fed297e7ef878aa?share=PqvJczCZCFpStNIHMfMQQ",
7
+ "embedUrl": "https://console-test.testdriver.ai/replay/6a1a3c4d8fed297e7ef878aa?share=PqvJczCZCFpStNIHMfMQQ&embed=true",
8
+ "lastUpdated": "2026-05-30T01:24:34.887Z"
9
9
  },
10
10
  "drag-and-drop.test.mjs": {
11
11
  "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b42fc0ac3cc632a918b",
12
12
  "lastUpdated": "2026-03-03T00:32:25.275Z"
13
13
  },
14
14
  "exec-pwsh.test.mjs": {
15
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a17908b7d423e81b390fa99",
16
- "lastUpdated": "2026-05-28T01:01:50.685Z"
15
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a3437e28fe3cfa69438a3",
16
+ "lastUpdated": "2026-05-30T01:04:00.933Z"
17
17
  },
18
18
  "match-image.test.mjs": {
19
19
  "url": "https://console-test.testdriver.ai/runs/69c8738614b73310c7839412/69c8738c14b73310c783941d",
@@ -24,92 +24,92 @@
24
24
  "lastUpdated": "2026-03-03T00:32:25.282Z"
25
25
  },
26
26
  "hover-text-with-description.test.mjs": {
27
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1790a37d423e81b390fa9e",
28
- "lastUpdated": "2026-05-28T00:47:30.860Z"
27
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a344ee28fe3cfa69438b0",
28
+ "lastUpdated": "2026-05-30T00:50:22.351Z"
29
29
  },
30
30
  "windows-installer.test.mjs": {
31
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1790d37d423e81b390faa7",
32
- "lastUpdated": "2026-05-28T01:03:02.727Z"
31
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a347ae28fe3cfa69438b3",
32
+ "lastUpdated": "2026-05-30T01:05:11.106Z"
33
33
  },
34
34
  "exec-output.test.mjs": {
35
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1790d57d423e81b390faa8",
36
- "lastUpdated": "2026-05-28T01:03:04.886Z"
35
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a347be28fe3cfa69438b4",
36
+ "lastUpdated": "2026-05-30T01:05:12.510Z"
37
37
  },
38
38
  "chrome-extension.test.mjs": {
39
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1790897d423e81b390fa98",
40
- "lastUpdated": "2026-05-28T00:54:24.116Z"
39
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a3435e28fe3cfa69438a2",
40
+ "lastUpdated": "2026-05-30T00:56:56.394Z"
41
41
  },
42
42
  "launch-vscode-linux.test.mjs": {
43
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1790c67d423e81b390faa5",
44
- "replayUrl": "https://console-test.testdriver.ai/replay/6a1796cd7d423e81b390faed?share=vC6J7mIobNeQqdUdiZog",
45
- "embedUrl": "https://console-test.testdriver.ai/replay/6a1796cd7d423e81b390faed?share=vC6J7mIobNeQqdUdiZog&embed=true",
46
- "lastUpdated": "2026-05-28T01:13:57.213Z"
43
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a3464e28fe3cfa69438b1",
44
+ "replayUrl": "https://console-test.testdriver.ai/replay/6a1a3a0e8fed297e7ef8789a?share=8yPTRWolM8caTwnViV1vw",
45
+ "embedUrl": "https://console-test.testdriver.ai/replay/6a1a3a0e8fed297e7ef8789a?share=8yPTRWolM8caTwnViV1vw&embed=true",
46
+ "lastUpdated": "2026-05-30T01:15:00.625Z"
47
47
  },
48
48
  "hover-image.test.mjs": {
49
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1790ee7d423e81b390faab",
50
- "lastUpdated": "2026-05-28T00:56:05.446Z"
49
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a3494e28fe3cfa69438b5",
50
+ "lastUpdated": "2026-05-30T00:58:33.674Z"
51
51
  },
52
52
  "installer.test.mjs": {
53
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1791107d423e81b390faac",
54
- "lastUpdated": "2026-05-28T00:49:09.295Z"
53
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a34aae28fe3cfa69438b8",
54
+ "lastUpdated": "2026-05-30T00:51:54.447Z"
55
55
  },
56
56
  "type.test.mjs": {
57
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1791497d423e81b390faaf",
58
- "lastUpdated": "2026-05-28T00:57:35.980Z"
57
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a34ede28fe3cfa69438bd",
58
+ "lastUpdated": "2026-05-30T01:00:01.409Z"
59
59
  },
60
60
  "press-keys.test.mjs": {
61
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1791627d423e81b390fab0",
62
- "replayUrl": "https://console-test.testdriver.ai/replay/6a1798a77d423e81b390fb3c?share=HWIAWhrv9Umwbyi641bgg",
63
- "embedUrl": "https://console-test.testdriver.ai/replay/6a1798a77d423e81b390fb3c?share=HWIAWhrv9Umwbyi641bgg&embed=true",
64
- "lastUpdated": "2026-05-28T01:21:51.018Z"
61
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a3505e28fe3cfa69438be",
62
+ "replayUrl": "https://console-test.testdriver.ai/replay/6a1a3c008fed297e7ef878a8?share=y8BLCNEbkL9ifxeTIr4Qw",
63
+ "embedUrl": "https://console-test.testdriver.ai/replay/6a1a3c008fed297e7ef878a8?share=y8BLCNEbkL9ifxeTIr4Qw&embed=true",
64
+ "lastUpdated": "2026-05-30T01:23:17.848Z"
65
65
  },
66
66
  "scroll-keyboard.test.mjs": {
67
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1791aa7d423e81b390fab3",
68
- "lastUpdated": "2026-05-28T01:06:34.229Z"
67
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a3549e28fe3cfa69438c1",
68
+ "lastUpdated": "2026-05-30T01:08:28.359Z"
69
69
  },
70
70
  "scroll.test.mjs": {
71
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1791c77d423e81b390fab7",
72
- "replayUrl": "https://console-test.testdriver.ai/replay/6a179a1b7d423e81b390fb6c?share=LaHVFvjLtWSJbRzmb9pQ",
73
- "embedUrl": "https://console-test.testdriver.ai/replay/6a179a1b7d423e81b390fb6c?share=LaHVFvjLtWSJbRzmb9pQ&embed=true",
74
- "lastUpdated": "2026-05-28T01:28:03.366Z"
71
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a3565e28fe3cfa69438c5",
72
+ "replayUrl": "https://console-test.testdriver.ai/replay/6a1a3d468fed297e7ef878b0?share=k3i6rr4qKDNucJcYq7tlA",
73
+ "embedUrl": "https://console-test.testdriver.ai/replay/6a1a3d468fed297e7ef878b0?share=k3i6rr4qKDNucJcYq7tlA&embed=true",
74
+ "lastUpdated": "2026-05-30T01:28:44.464Z"
75
75
  },
76
76
  "scroll-until-image.test.mjs": {
77
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1791ac7d423e81b390fab4",
78
- "lastUpdated": "2026-05-28T00:51:57.166Z"
77
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a354be28fe3cfa69438c2",
78
+ "lastUpdated": "2026-05-30T00:54:35.391Z"
79
79
  },
80
80
  "prompt.test.mjs": {
81
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1791af7d423e81b390fab5",
82
- "lastUpdated": "2026-05-28T01:06:39.358Z"
81
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a354de28fe3cfa69438c3",
82
+ "lastUpdated": "2026-05-30T01:08:31.362Z"
83
83
  },
84
84
  "focus-window.test.mjs": {
85
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1791b17d423e81b390fab6",
86
- "lastUpdated": "2026-05-28T00:52:01.734Z"
85
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a354ee28fe3cfa69438c4",
86
+ "lastUpdated": "2026-05-30T00:54:38.519Z"
87
87
  },
88
88
  "captcha-api.test.mjs": {
89
89
  "url": "https://console.testdriver.ai/runs/698f7df69e27ce1528d7d087/698f7fb0d3b320ad547d9d44",
90
90
  "lastUpdated": "2026-02-13T19:55:05.951Z"
91
91
  },
92
92
  "element-not-found.test.mjs": {
93
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1791e07d423e81b390fab8",
94
- "lastUpdated": "2026-05-28T01:07:28.823Z"
93
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a357ae28fe3cfa69438c6",
94
+ "lastUpdated": "2026-05-30T01:09:20.511Z"
95
95
  },
96
96
  "formatted-logging.test.mjs": {
97
97
  "url": "https://console-test.testdriver.ai/runs/69c8738614b73310c7839412/69c873a714b73310c7839450",
98
98
  "lastUpdated": "2026-03-29T00:36:10.628Z"
99
99
  },
100
100
  "hover-text.test.mjs": {
101
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1792107d423e81b390faba",
102
- "lastUpdated": "2026-05-28T00:53:35.603Z"
101
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a35aae28fe3cfa69438c8",
102
+ "lastUpdated": "2026-05-30T00:56:10.184Z"
103
103
  },
104
104
  "no-provision.test.mjs": {
105
105
  "url": "https://console.testdriver.ai/runs/69a62b3aaa712ecd3dea730a/69a62b7706a177a05bccd1cf",
106
106
  "lastUpdated": "2026-03-03T00:32:25.279Z"
107
107
  },
108
108
  "ai.test.mjs": {
109
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1791f87d423e81b390fab9",
110
- "replayUrl": "https://console-test.testdriver.ai/replay/6a179ae57d423e81b390fb82?share=keImOYhUmGpWQQFuhIZSaw",
111
- "embedUrl": "https://console-test.testdriver.ai/replay/6a179ae57d423e81b390fb82?share=keImOYhUmGpWQQFuhIZSaw&embed=true",
112
- "lastUpdated": "2026-05-28T01:31:25.753Z"
109
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a3593e28fe3cfa69438c7",
110
+ "replayUrl": "https://console-test.testdriver.ai/replay/6a1a3e118fed297e7ef878b4?share=k0s0vwaFRRIx3ZyGrHghw",
111
+ "embedUrl": "https://console-test.testdriver.ai/replay/6a1a3e118fed297e7ef878b4?share=k0s0vwaFRRIx3ZyGrHghw&embed=true",
112
+ "lastUpdated": "2026-05-30T01:32:07.897Z"
113
113
  },
114
114
  "popup-loading.test.mjs": {
115
115
  "url": "https://console.testdriver.ai/runs/698bc89f7140c3fa7daaca8d/698bca7f7140c3fa7daacbf7",
@@ -144,12 +144,12 @@
144
144
  "lastUpdated": "2026-02-13T19:55:05.953Z"
145
145
  },
146
146
  "findall-coffee-icons.test.mjs": {
147
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1791927d423e81b390fab2",
148
- "lastUpdated": "2026-05-28T00:58:50.726Z"
147
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a3533e28fe3cfa69438c0",
148
+ "lastUpdated": "2026-05-30T01:01:11.326Z"
149
149
  },
150
150
  "parse.test.mjs": {
151
- "url": "https://console-test.testdriver.ai/runs/6a1790707d423e81b390fa89/6a1792297d423e81b390fabb",
152
- "lastUpdated": "2026-05-28T01:08:39.338Z"
151
+ "url": "https://console-test.testdriver.ai/runs/6a1a341de28fe3cfa6943888/6a1a35c2e28fe3cfa69438c9",
152
+ "lastUpdated": "2026-05-30T01:10:30.529Z"
153
153
  },
154
154
  "flake-diffthreshold-001.test.mjs": {
155
155
  "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://console-test.testdriver.ai/replay/6a179ae57d423e81b390fb82?share=keImOYhUmGpWQQFuhIZSaw&embed=true"
15
+ src="https://console-test.testdriver.ai/replay/6a1a3e118fed297e7ef878b4?share=k0s0vwaFRRIx3ZyGrHghw&embed=true"
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://console-test.testdriver.ai/replay/6a1798e07d423e81b390fb43?share=UqiUSmkhK2HQemcBtpVI3w&embed=true"
15
+ src="https://console-test.testdriver.ai/replay/6a1a3c4d8fed297e7ef878aa?share=PqvJczCZCFpStNIHMfMQQ&embed=true"
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-test.testdriver.ai/api/v1/testdriver/testcase/6a1790897d423e81b390fa98/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/6a1a3435e28fe3cfa69438a2/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-test.testdriver.ai/api/v1/testdriver/testcase/6a1791e07d423e81b390fab8/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/6a1a357ae28fe3cfa69438c6/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -18,7 +18,7 @@ Watch this test execute in a real sandbox environment:
18
18
 
19
19
  {/* findall-coffee-icons.test.mjs output */}
20
20
  <iframe
21
- src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/6a1791927d423e81b390fab2/replay"
21
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/6a1a3533e28fe3cfa69438c0/replay"
22
22
  width="100%"
23
23
  height="600"
24
24
  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-test.testdriver.ai/api/v1/testdriver/testcase/6a1790ee7d423e81b390faab/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/6a1a3494e28fe3cfa69438b5/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -18,7 +18,7 @@ Watch this test execute in a real sandbox environment:
18
18
 
19
19
  {/* hover-text-with-description.test.mjs output */}
20
20
  <iframe
21
- src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/6a1790a37d423e81b390fa9e/replay"
21
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/6a1a344ee28fe3cfa69438b0/replay"
22
22
  width="100%"
23
23
  height="600"
24
24
  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-test.testdriver.ai/api/v1/testdriver/testcase/6a1792107d423e81b390faba/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/6a1a35aae28fe3cfa69438c8/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-test.testdriver.ai/api/v1/testdriver/testcase/6a1791107d423e81b390faac/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/6a1a34aae28fe3cfa69438b8/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://console-test.testdriver.ai/replay/6a1796cd7d423e81b390faed?share=vC6J7mIobNeQqdUdiZog&embed=true"
15
+ src="https://console-test.testdriver.ai/replay/6a1a3a0e8fed297e7ef8789a?share=8yPTRWolM8caTwnViV1vw&embed=true"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -18,7 +18,7 @@ Watch this test execute in a real sandbox environment:
18
18
 
19
19
  {/* parse.test.mjs output */}
20
20
  <iframe
21
- src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/6a1792297d423e81b390fabb/replay"
21
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/6a1a35c2e28fe3cfa69438c9/replay"
22
22
  width="100%"
23
23
  height="600"
24
24
  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://console-test.testdriver.ai/replay/6a1798a77d423e81b390fb3c?share=HWIAWhrv9Umwbyi641bgg&embed=true"
15
+ src="https://console-test.testdriver.ai/replay/6a1a3c008fed297e7ef878a8?share=y8BLCNEbkL9ifxeTIr4Qw&embed=true"
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-test.testdriver.ai/api/v1/testdriver/testcase/6a1791aa7d423e81b390fab3/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/6a1a3549e28fe3cfa69438c1/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://console-test.testdriver.ai/replay/6a179a1b7d423e81b390fb6c?share=LaHVFvjLtWSJbRzmb9pQ&embed=true"
15
+ src="https://console-test.testdriver.ai/replay/6a1a3d468fed297e7ef878b0?share=k3i6rr4qKDNucJcYq7tlA&embed=true"
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-test.testdriver.ai/api/v1/testdriver/testcase/6a1791497d423e81b390faaf/replay"
15
+ src="https://api-test.testdriver.ai/api/v1/testdriver/testcase/6a1a34ede28fe3cfa69438bd/replay"
16
16
  width="100%"
17
17
  height="390"
18
18
  style={{ border: "1px solid #333", borderRadius: "8px" }}
@@ -153,7 +153,9 @@ class Dashcam {
153
153
  /**
154
154
  * Workaround for dashcam <1.5.0: webLogsDaemon.js writes its state to a
155
155
  * `.dashcam` directory relative to process.cwd(). When launched by the
156
- * runner, cwd is /usr/lib/node_modules/@testdriverai/runner (root-owned),
156
+ * runner, cwd is typically a root-owned global install path (for example
157
+ * /usr/lib/node_modules/@testdriverai/runner or
158
+ * /usr/local/lib/node_modules/@testdriverai/runner),
157
159
  * so the daemon can't mkdir its state dir as user `user` and silently
158
160
  * dies — recordings never start (or `dashcam logs --add` fails with EACCES).
159
161
  * Pre-create world-writable .dashcam dirs at both the current cwd and the
@@ -168,8 +170,11 @@ class Dashcam {
168
170
  if (!this._dashcamDirsReady) {
169
171
  this._dashcamDirsReady = this.client.exec(
170
172
  this._getShell(),
171
- `sudo mkdir -p "$(pwd)/.dashcam" /usr/lib/node_modules/@testdriverai/runner/.dashcam 2>/dev/null; ` +
172
- `sudo chmod 0777 "$(pwd)/.dashcam" /usr/lib/node_modules/@testdriverai/runner/.dashcam 2>/dev/null; ` +
173
+ `GLOBAL_NPM_ROOT="$(npm root -g 2>/dev/null || true)"; ` +
174
+ `PWD_DIR="$(pwd)"; REAL_PWD_DIR="$(pwd -P 2>/dev/null || pwd)"; ` +
175
+ `DIRS="$PWD_DIR/.dashcam $REAL_PWD_DIR/.dashcam /usr/lib/node_modules/@testdriverai/runner/.dashcam /usr/local/lib/node_modules/@testdriverai/runner/.dashcam"; ` +
176
+ `if [ -n "$GLOBAL_NPM_ROOT" ]; then DIRS="$DIRS $GLOBAL_NPM_ROOT/@testdriverai/runner/.dashcam"; fi; ` +
177
+ `for d in $DIRS; do sudo mkdir -p "$d" 2>/dev/null || true; sudo chmod 0777 "$d" 2>/dev/null || true; done; ` +
173
178
  `true`,
174
179
  10000,
175
180
  process.env.TD_DEBUG == "true" ? false : true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testdriverai/agent",
3
- "version": "7.9.97-canary",
3
+ "version": "7.9.98-canary",
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",