testdriverai 7.2.29 → 7.2.31

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 CHANGED
@@ -49,7 +49,7 @@ expect(result).toBeTruthy();
49
49
 
50
50
  ### Step 1: Create a TestDriver Account
51
51
 
52
- <a href="https://app.testdriver.ai/team"><img src="https://img.shields.io/badge/Sign_Up-Free_Account-blue?style=for-the-badge" alt="Sign Up"/></a>
52
+ <a href="https://console.testdriver.ai/team"><img src="https://img.shields.io/badge/Sign_Up-Free_Account-blue?style=for-the-badge" alt="Sign Up"/></a>
53
53
 
54
54
  *No credit card required!*
55
55
 
@@ -356,8 +356,9 @@ const createCommands = (
356
356
  );
357
357
 
358
358
  // Wait for redraw and track duration
359
+ // Increase timeout for scroll operations as they can take 1-2 seconds to complete
359
360
  const redrawStartTime = Date.now();
360
- await redraw.wait(2500, redrawOptions);
361
+ await redraw.wait(5000, redrawOptions);
361
362
  const redrawDuration = Date.now() - redrawStartTime;
362
363
 
363
364
  const after = await system.captureScreenBase64();
package/docs/docs.json CHANGED
@@ -294,7 +294,7 @@
294
294
  {
295
295
  "icon": "gauge-high",
296
296
  "label": "Dashboard",
297
- "href": "https://app.testdriver.ai"
297
+ "href": "https://console.testdriver.ai"
298
298
  }
299
299
  ]
300
300
  },
@@ -22,7 +22,7 @@ TestDriver makes it easy to write automated computer-use tests for web browsers,
22
22
  <Card
23
23
  title="Sign Up for TestDriver"
24
24
  icon="user-plus"
25
- href="https://app.testdriver.ai/team"
25
+ href="https://console.testdriver.ai/team"
26
26
  arrow
27
27
  horizontal
28
28
  >
@@ -67,11 +67,11 @@ TestDriver makes it easy to write automated computer-use tests for web browsers,
67
67
  <Card
68
68
  title="Sign Up for TestDriver"
69
69
  icon="user-plus"
70
- href="https://app.testdriver.ai/team"
70
+ href="https://console.testdriver.ai/team"
71
71
  arrow
72
72
  horizontal
73
73
  >
74
- No credit-card required!
74
+ Start with 60 free device minutes, no credit-card required!
75
75
  </Card>
76
76
 
77
77
  </Step>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "7.2.29",
3
+ "version": "7.2.31",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "sdk.js",
6
6
  "exports": {
File without changes
@@ -35,7 +35,7 @@ describe("Scroll Test", () => {
35
35
  await testdriver.scroll("down", { amount: 1000 });
36
36
 
37
37
  // Assert page is scrolled
38
- const result = await testdriver.assert("the page is scrolled down, the hamster dance heading is not visible on the page");
38
+ const result = await testdriver.assert("the page is scrolled down, the hamster dance h1 text heading is not visible on the webpage");
39
39
  expect(result).toBeTruthy();
40
40
  });
41
41
  });