testdriverai 4.2.18 → 4.2.19

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/lib/commands.js CHANGED
@@ -10,7 +10,7 @@ const {
10
10
  const keymap = require("./keymap");
11
11
  const { focusApplication } = require("./focus-application");
12
12
  const fs = require("fs").promises; // Using the promises version for async operations
13
- const robot = require("testdriverai-robotjs");
13
+ const robot = require("robotjs");
14
14
  const { findTemplateImage } = require("./subimage/index");
15
15
  const { cwd } = require("node:process");
16
16
  const path = require("path");
@@ -3,7 +3,7 @@ const path = require("path");
3
3
  const { execSync } = require("child_process");
4
4
  const { platform } = require("./system");
5
5
  const scriptPath = path.join(__dirname, "focusWindow.ps1");
6
- const robot = require("testdriverai-robotjs");
6
+ const robot = require("robotjs");
7
7
  const { logger } = require("./logger");
8
8
 
9
9
  // apple script that focuses on a window
package/lib/system.js CHANGED
@@ -4,7 +4,7 @@ const os = require("os");
4
4
  const path = require("path");
5
5
  const screenshot = require("screenshot-desktop");
6
6
  const si = require("systeminformation");
7
- const robot = require("testdriverai-robotjs");
7
+ const robot = require("robotjs");
8
8
  const sharp = require("sharp");
9
9
  const { emitter, events } = require("./events.js");
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "4.2.18",
3
+ "version": "4.2.19",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  "odiff-bin": "^3.1.2",
39
39
  "prompts": "^2.4.2",
40
40
  "remark-parse": "^11.0.0",
41
- "testdriverai-robotjs": "^0.6.0",
41
+ "robotjs": "^0.6.0",
42
42
  "sanitize-filename": "^1.6.3",
43
43
  "say": "^0.16.0",
44
44
  "screenshot-desktop": "^1.15.0",