@xbrowser/cli 1.8.2 → 1.8.3
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/daemon-main.js +1 -2
- package/package.json +1 -1
package/dist/daemon-main.js
CHANGED
|
@@ -7812,8 +7812,7 @@ async function injectRecording(page) {
|
|
|
7812
7812
|
} catch {
|
|
7813
7813
|
}
|
|
7814
7814
|
try {
|
|
7815
|
-
|
|
7816
|
-
await cdp.send("Page.addScriptToEvaluateOnNewDocument", { source: RECORDING_INJECT_JS });
|
|
7815
|
+
await page.addInitScript(RECORDING_INJECT_JS);
|
|
7817
7816
|
} catch {
|
|
7818
7817
|
}
|
|
7819
7818
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xbrowser/cli",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.3",
|
|
4
4
|
"description": "Browser automation CLI for web scraping, headless browsing, SEO analysis, and AI agent workflows. A command-line alternative to Playwright, Puppeteer, and Selenium.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|