testdriverai 5.7.5 → 5.7.7

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
  }
package/lib/commands.js CHANGED
@@ -458,8 +458,8 @@ let commands = {
458
458
  // remove any modifier keys from the inputKeys array and put them in a new array
459
459
  inputKeys.forEach((key) => {
460
460
  // change command to control on windows
461
- if (key === "command" && platform() == "win32") {
462
- key = "control";
461
+ if (key === "command" || key === "control") {
462
+ key = commandOrControl;
463
463
  }
464
464
 
465
465
  if (!config.TD_VM && modifierKeys.includes(key)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "5.7.5",
3
+ "version": "5.7.7",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {