testdriverai 7.8.0-test.24 → 7.8.0-test.26

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.
@@ -147,20 +147,13 @@ class Dashcam {
147
147
  * @private
148
148
  */
149
149
  async _getDashcamPath() {
150
- const shell = this._getShell();
151
150
 
152
151
  if (this.client.os === "windows") {
153
152
  return "C:\\Program Files\\nodejs\\dashcam.cmd";
153
+ } else {
154
+ return "/usr/bin/dashcam";
154
155
  }
155
156
 
156
- const npmPrefix = await this.client.exec(
157
- shell,
158
- "npm prefix -g",
159
- 40000,
160
- process.env.TD_DEBUG == "true" ? false : true,
161
- );
162
-
163
- return npmPrefix.trim() + "/bin/dashcam";
164
157
  }
165
158
 
166
159
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "7.8.0-test.24",
3
+ "version": "7.8.0-test.26",
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",