testdriverai 7.4.1 → 7.4.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/sdk.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "7.4.1",
3
+ "version": "7.4.2",
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
@@ -668,7 +668,7 @@ class Element {
668
668
 
669
669
  // Create options without timeout to avoid infinite recursion
670
670
  const findOptions = typeof options === "object" ? { ...options } : {};
671
- delete findOptions.timeout;
671
+ findOptions.timeout = 0;
672
672
 
673
673
  let attempts = 0;
674
674
  while (Date.now() - startTime < timeout) {