testdriverai 5.7.5 → 5.7.6

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/agent.js CHANGED
@@ -225,6 +225,7 @@ const haveAIResolveError = async (
225
225
  undo = true,
226
226
  shouldSave,
227
227
  ) => {
228
+
228
229
  if (error.fatal) {
229
230
  return await dieOnFatal(error);
230
231
  }
@@ -38,6 +38,13 @@ end tell`;
38
38
  // set value of attribute "AXMinimized" of every window of application process "${windowName}" to true
39
39
  // end tell`;
40
40
 
41
+ // const appleScriptActivate = (windowName) => `
42
+ // tell application "${windowName}"
43
+ // reopen
44
+ // activate
45
+ // end tell
46
+ // `;
47
+
41
48
  const appleScriptActivate = (windowName) => `
42
49
  tell application "${windowName}"
43
50
  reopen
@@ -94,7 +101,7 @@ async function showTerminal(appName) {
94
101
  try {
95
102
  if (platform() == "mac") {
96
103
  await execSync(`osascript -e '${appleScriptActivate(appName)}'`, { stdio: [] });
97
- await execSync(`osascript -e '${appleScriptSetFrontmost(appName)}'`, { stdio: [] });
104
+ // await execSync(`osascript -e '${appleScriptSetFrontmost(appName)}'`, { stdio: [] });
98
105
 
99
106
  } else if (platform() == "windows") {
100
107
  return runPwsh(appName, "Restore");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "5.7.5",
3
+ "version": "5.7.6",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {