Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(docs): optionally install XVFB in docker

Andrey Lushnikovec3ee6604303
diff --git a/docs/docker/Dockerfile.bionic b/docs/docker/Dockerfile.bionic
index c4a608164e..bfaf0cf1e3 100644
--- a/docs/docker/Dockerfile.bionic
+++ b/docs/docker/Dockerfile.bionic
@@ -46,5 +46,8 @@ RUN groupadd -r pwuser && useradd -r -g pwuser -G audio,video pwuser \
&& mkdir -p /home/pwuser/Downloads \
&& chown -R pwuser:pwuser /home/pwuser
+# 6. (Optional) Install XVFB if there's a need to run browsers in headful mode
+RUN apt-get install -y xvfb
+
# Run everything after as non-privileged user.
USER pwuser