testdriverai 7.3.11 → 7.3.12

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 (3) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +1 -1
  3. package/sdk.js +2 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [7.3.12](https://github.com/testdriverai/testdriverai/compare/v7.3.11...v7.3.12) (2026-02-17)
2
+
3
+
4
+
1
5
  ## [7.3.11](https://github.com/testdriverai/testdriverai/compare/v7.3.10...v7.3.11) (2026-02-17)
2
6
 
3
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "7.3.11",
3
+ "version": "7.3.12",
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
@@ -1376,15 +1376,14 @@ class TestDriverSDK {
1376
1376
  // Handle preview mode with backwards compatibility for headless option
1377
1377
  // Preview can be "browser" (default), "ide", or "none" (headless)
1378
1378
  let previewMode = options.preview || process.env.TD_PREVIEW;
1379
- console.log("[DEBUG SDK constructor] options.preview:", options.preview, "previewMode:", previewMode);
1380
1379
 
1381
1380
  // Backwards compatibility: headless: true maps to preview: "none"
1382
- if (options.headless === true && !options.preview) {
1381
+ // headless: true takes precedence over any preview setting
1382
+ if (options.headless === true) {
1383
1383
  previewMode = "none";
1384
1384
  } else if (!previewMode) {
1385
1385
  previewMode = "browser"; // default
1386
1386
  }
1387
- console.log("[DEBUG SDK constructor] final previewMode:", previewMode);
1388
1387
 
1389
1388
  // Set up environment with API key
1390
1389
  const environment = {