715
edits
(→Security review update: fix heading) |
(→Update on Firefox support for Puppeteer?: some fixes) |
||
| Line 84: | Line 84: | ||
=== Update on Firefox support for Puppeteer? === | === Update on Firefox support for Puppeteer? === | ||
; | ; maja_zf | ||
: | : https://github.com/andreastt/puppeteer/pull/1 | ||
: I'm working on the code in Launcher.js, about 5% chrome specific, and doing some refactoring to be able to also use it for Firefox | : I'm working on the code in Launcher.js, about 5% chrome specific, and doing some refactoring to be able to also use it for Firefox. | ||
: | : A user would set the <code>PUPPETEER_PRODUCT</code> environment variable to select Firefox. | ||
: | : Some more code for setting up the profile including preferences then gets run. | ||
; ato | ; ato | ||
: | : The way how Chrome is configured is different? | ||
: | : With Firefox we write a lot of preferences to the profile. | ||
; | ; maja_zf | ||
: | : Chrome just uses command-line flags. | ||
: | : Maybe in the future we can have a mozprofile Node.js library to allow users to configure the used profile. | ||
; ato | ; ato | ||
: | : Would it make sense to have such a library because in the future we might want to use a WebDriver-way of configuring a profile? | ||
; | ; maja_zf | ||
: | : The profile creation code is not exposed. | ||
: There’s a PUPPETEER_PRODUCT variable and we should be able to have some state so we can reference this throughout. | : There’s a <code>PUPPETEER_PRODUCT</code> variable and we should be able to have some state so we can reference this throughout. | ||
; whimboo | ; whimboo | ||
: I assume that the code paths for | : I assume that the code paths for Juggler (puppeteer-firefox) are still kept in place? | ||
; maja_zf | ; maja_zf | ||
: I’m pretending the Juggler code doesn’t exist and that it will go away at some point. | : I’m pretending the Juggler code doesn’t exist and that it will go away at some point. | ||
edits