testdriverai 7.4.2 → 7.4.4

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.
@@ -555,12 +555,6 @@ const createCommands = (
555
555
  // Add absolute timestamp for sandbox events
556
556
  elementData.timestamp = Date.now();
557
557
 
558
- await sandbox.send({ type: "moveMouse", x, y, ...elementData });
559
-
560
- emitter.emit(events.mouseMove, { x, y });
561
-
562
- await delay(2500); // wait for the mouse to move
563
-
564
558
  // Update the action log with duration
565
559
  const clickMoveEndTime = Date.now();
566
560
  const { formatter } = require("../../sdk-log-formatter.js");
@@ -13,20 +13,11 @@ import { getDefaults } from "./config.mjs";
13
13
  * @param {string} username - Username (default: 'standard_user')
14
14
  */
15
15
  async function performLogin(client, username = "standard_user") {
16
-
17
- console.log('Performing login with username:', username);
18
16
  await client.focusApplication("Google Chrome");
19
-
20
- console.log('Extracting password from page');
21
17
  const password = await client.extract("the password");
22
-
23
- console.log('Password extracted:', password ? '***' : 'not found');
24
-
25
18
  const usernameField = await client.find(
26
19
  "username input",
27
20
  );
28
-
29
- console.log('Clicking on username field and entering credentials');
30
21
  await usernameField.click();
31
22
  await client.type(username);
32
23
  await client.pressKeys(["tab"]);
@@ -44,8 +35,6 @@ describe("Hover Image Test", () => {
44
35
  url: 'http://testdriver-sandbox.vercel.app/login'
45
36
  });
46
37
 
47
- console.log('starting login')
48
-
49
38
  // Perform login first
50
39
  await performLogin(testdriver);
51
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "7.4.2",
3
+ "version": "7.4.4",
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",
package/sdk.js CHANGED
@@ -1899,7 +1899,7 @@ class TestDriverSDK {
1899
1899
  // Add web log tracking with domain wildcard pattern, then start dashcam
1900
1900
  if (this.dashcamEnabled) {
1901
1901
  const domainPattern = this._getUrlDomainPattern(url);
1902
- await this.dashcam.addWebLog(domainPattern, "Web Logs");
1902
+ // await this.dashcam.addWebLog(domainPattern, "Web Logs");
1903
1903
 
1904
1904
  // Start dashcam recording after logs are configured
1905
1905
  if (!(await this.dashcam.isRecording())) {
@@ -2466,7 +2466,7 @@ with zipfile.ZipFile(io.BytesIO(zip_data)) as zf:
2466
2466
  const pattern = this._provisionedChromeUrl
2467
2467
  ? this._getUrlDomainPattern(this._provisionedChromeUrl)
2468
2468
  : "**";
2469
- await this.dashcam.addWebLog(pattern, "Web Logs");
2469
+ // await this.dashcam.addWebLog(pattern, "Web Logs");
2470
2470
  }
2471
2471
 
2472
2472
  // Start recording if not already recording