Skip to content

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

fix(chromium): install libgbm (#773)

Joel Einbindere131fe0cee49
diff --git a/.github/workflows/chromium-linux.yml b/.github/workflows/chromium-linux.yml
index 7043d9bc4b..c7be68f5c7 100644
--- a/.github/workflows/chromium-linux.yml
+++ b/.github/workflows/chromium-linux.yml
@@ -25,6 +25,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: install required packages
run: |
+ sudo apt-get install libgbm1
sudo apt-get install xvfb
- name: npm install, build, and test
diff --git a/.travis.yml b/.travis.yml
index 9d37092630..4c53cdfd3b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,6 +18,9 @@ addons:
- libevent-2.1-6
- libnotify4
- libxslt1.1
+ # This is required to run chromium
+ - libgbm1
+ # this is needed for running headful tests
- xvfb
notifications:
email: false
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md
index 36cf736dbd..0a4a1ce061 100644
--- a/docs/troubleshooting.md
+++ b/docs/troubleshooting.md
@@ -81,6 +81,7 @@ libnss3
lsb-release
xdg-utils
wget
+libgbm1
```
</details>