Zenika / alpine-chrome

Chrome Headless docker images built upon alpine official image
https://hub.docker.com/r/zenika/alpine-chrome
Apache License 2.0
1.82k stars 241 forks source link

New Puppeteer image with Xvfb included to test ChromeExtension #174

Closed chriscamicas closed 2 years ago

chriscamicas commented 3 years ago

This PR adds a new Puppeteer docker image based on the existing one, with the addition of Xfvb. This image is usefull to test Chrome/Chromium Extension, and it comes with a demo-extension included. Xfvb is needed to run Chrome Headfull, since the headless mode prevent extension from loading/running.

Closes #167

hgwood commented 2 years ago

I get the following warnings:

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86EmojiPicker
Errors from xkbcomp are not fatal to the X server

Otherwise, looks good to me, the background in the screenshot is indeed red. Thanks :)