@browserbasehq/stagehand 1.0.2 → 1.0.3-alpha.1
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/dist/dom/build/types.js +2 -0
- package/dist/index.js +10 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1172,13 +1172,20 @@ var Stagehand = class {
|
|
|
1172
1172
|
yield this.page.setViewportSize({ width: 1280, height: 720 });
|
|
1173
1173
|
}
|
|
1174
1174
|
yield this.page.addInitScript({
|
|
1175
|
-
path: import_path2.default.join(
|
|
1175
|
+
path: import_path2.default.join(
|
|
1176
|
+
process.cwd(),
|
|
1177
|
+
"..",
|
|
1178
|
+
"dist",
|
|
1179
|
+
"dom",
|
|
1180
|
+
"build",
|
|
1181
|
+
"process.js"
|
|
1182
|
+
)
|
|
1176
1183
|
});
|
|
1177
1184
|
yield this.page.addInitScript({
|
|
1178
|
-
path: import_path2.default.join(
|
|
1185
|
+
path: import_path2.default.join(process.cwd(), "..", "dist", "dom", "build", "utils.js")
|
|
1179
1186
|
});
|
|
1180
1187
|
yield this.page.addInitScript({
|
|
1181
|
-
path: import_path2.default.join(
|
|
1188
|
+
path: import_path2.default.join(process.cwd(), "..", "dist", "dom", "build", "debug.js")
|
|
1182
1189
|
});
|
|
1183
1190
|
return { debugUrl, sessionUrl };
|
|
1184
1191
|
});
|
package/package.json
CHANGED