testdriverai 7.9.68-test → 7.9.70-test

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.
@@ -415,6 +415,18 @@
415
415
  : "TestDriver";
416
416
  document.title = `${testFileName} - Debugger`;
417
417
 
418
+ const shouldDowngradeToHttp =
419
+ window.location.protocol === "https:" &&
420
+ parsedData?.os === "windows" &&
421
+ typeof parsedData?.url === "string" &&
422
+ parsedData.url.startsWith("http://");
423
+
424
+ if (shouldDowngradeToHttp) {
425
+ const redirectUrl = new URL(window.location.href);
426
+ redirectUrl.protocol = "http:";
427
+ window.location.replace(redirectUrl.toString());
428
+ }
429
+
418
430
  // Embed the VNC URL in the iframe with token
419
431
  iframe.style.display = "block";
420
432
  const vncUrl = new URL(parsedData.url);
package/docs/docs.json CHANGED
@@ -68,7 +68,7 @@
68
68
  "pages": [
69
69
  "/v7/generating-tests",
70
70
  "/v7/device-config",
71
- "/v7/machine-setup",
71
+ "/v7/machine-setup",
72
72
  "/v7/locating-elements",
73
73
  "/v7/waiting-for-elements",
74
74
  "/v7/performing-actions",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "7.9.68-test",
3
+ "version": "7.9.70-test",
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
@@ -3849,7 +3849,8 @@ CAPTCHA_SOLVER_EOF`,
3849
3849
  const apiRoot = this.config?.TD_API_ROOT || 'unknown';
3850
3850
  const apiKey = this.config?.TD_API_KEY || '';
3851
3851
  const maskedKey = apiKey.length > 4 ? '***' + apiKey.slice(-4) : '(not set)';
3852
- const env = process.env.TD_CHANNEL || process.env.TD_ENV || 'unknown';
3852
+ const channelConfig = require('./lib/resolve-channel.js');
3853
+ const env = process.env.TD_CHANNEL || process.env.TD_ENV || channelConfig.active || 'unknown';
3853
3854
  const os = this.os || this.agent?.options?.os || process.env.TD_OS || 'linux';
3854
3855
  const sdkVersion = require('./package.json').version;
3855
3856