In-tree Puppeteer unit tests and examples don't work with Chrome/Chromium
Categories
(Remote Protocol :: Agent, defect, P1)
Tracking
(firefox72 fixed)
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
(Whiteboard: [puppeteer-alpha])
Attachments
(3 files)
I'm trying to run the puppeteer examples and for that I need the node
command. As such I run npm install .
from inside the puppeteer folder first. It by default downloads Chromium, installs it, and tries to start it to check the websocket connection. Sadly this doesn't work from our clone of the puppeteer repository inside mozilla-central. I can only get it working from an official clone of the repository.
Steps:
- Change into remote/test/puppeteer
- Run
npm install .
The same happens for mach
when trying to run with Chrome as product:
- Run
mach puppeteer-test --product chrome
In both situation I get a timeout thrown.
Assignee | ||
Comment 1•5 years ago
|
||
Oh, do we still have the stdout workaround in place? Given that Chrome only reads from stderr this clearly could be the problem. So stdout
should only be used for Firefox for the time being.
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
The attached patch will allow us to run both Chrome and Firefox with the Puppeteer fork from Andreas which we merge into mozilla-central. This is a temporary workaround until bug 1543115 has been fixed, and necessary for better protocol debugging capabilities.
Assignee | ||
Comment 4•5 years ago
|
||
The Github PR got landed as:
https://github.com/andreastt/puppeteer/commit/a787de9d29b677e9363fad656077e3d981431186
I will have a patch soon for vendoring in those changes.
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
Depends on D52740
Assignee | ||
Updated•5 years ago
|
Comment 9•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bf5bee09a2fc
https://hg.mozilla.org/mozilla-central/rev/ac269d3b3155
Description
•