You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When launching Foxhound with Playwright, the browser terminates immediately with the following output:
browserType.launch: Browser.enable): Browser closed.
==================== Browser output: ====================
<launching> /home/osboxes/foxhound-src/obj-tf-release/dist/bin/foxhound -no-remote -wait-for-browser -foreground -profile /tmp/playwright_firefoxdev_profile-ueZNgB -juggler-pipe -silent
<launched> pid=33916
[pid=33916][out] console.error: "Warning: unrecognized command line flag -wait-for-browser\n"
[pid=33916][out] console.error: "Warning: unrecognized command line flag -juggler-pipe\n"
[pid=33916][out] console.error: Region.sys.mjs: "Error fetching region" (new TypeError("NetworkError when attempting to fetch resource.", ""))
[pid=33916][out] console.error: Region.sys.mjs: "Failed to fetch region" (new Error("NO_RESULT", "resource://gre/modules/Region.sys.mjs", 414))
[pid=33916] <process did exit: exitCode=0, signal=null>
[pid=33916] starting temporary directories cleanup
=========================== logs ===========================
<launching> /home/osboxes/foxhound-src/obj-tf-release/dist/bin/foxhound -no-remote -wait-for-browser -foreground -profile /tmp/playwright_firefoxdev_profile-ueZNgB -juggler-pipe -silent
<launched> pid=33916
[pid=33916][out] console.error: "Warning: unrecognized command line flag -wait-for-browser\n"
[pid=33916][out] console.error: "Warning: unrecognized command line flag -juggler-pipe\n"
[pid=33916][out] console.error: Region.sys.mjs: "Error fetching region" (new TypeError("NetworkError when attempting to fetch resource.", ""))
[pid=33916][out] console.error: Region.sys.mjs: "Failed to fetch region" (new Error("NO_RESULT", "resource://gre/modules/Region.sys.mjs", 414))
[pid=33916] <process did exit: exitCode=0, signal=null>
[pid=33916] starting temporary directories cleanup
============================================================
Note: I also tried to run Foxhound with Puppeteer and the browser starts, but I need Playwright to use the page.initAddScript feature. The "equivalent" feature in Puppeteer, which is page.evaluateOnNewDocument, does not work for Firefox. I think this is because Puppeteer's page.evaluateOnNewDocument should invoke a CDP command that Firefox does not support. On the contrary, Playwright's page.initAddScript should rely on a WebDriver BiDi command supported by Firefox.
When launching Foxhound with Playwright, the browser terminates immediately with the following output:
Note: I also tried to run Foxhound with Puppeteer and the browser starts, but I need Playwright to use the page.initAddScript feature. The "equivalent" feature in Puppeteer, which is page.evaluateOnNewDocument, does not work for Firefox. I think this is because Puppeteer's page.evaluateOnNewDocument should invoke a CDP command that Firefox does not support. On the contrary, Playwright's page.initAddScript should rely on a WebDriver BiDi command supported by Firefox.
Foxhound: 114.0.2 (main: 5566a85, firefox-release: 4223211)
Playwright: 1.37.0
Puppeteer: 21.5.0
Node.js: 20.9.0
OS: Ubuntu 22.04 LTS
The text was updated successfully, but these errors were encountered: