Skip to content

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

chore: added envinfo to the bug issue template (#2237)

Max Schmittc2cd9634075f
diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md
index 451fe2f3e7..8c6d53fb73 100644
--- a/.github/ISSUE_TEMPLATE/bug.md
+++ b/.github/ISSUE_TEMPLATE/bug.md
@@ -14,6 +14,9 @@ assignees: ''
- Browser: [e.g. All, Chromium, Firefox, WebKit]
- Extra: [any specific details about your environment]
+<!-- CLI to auto-capture this info -->
+<!-- npx envinfo --preset playwright -->
+
**Code Snippet**
Help us help you! Put down a short code snippet that illustrates your bug and
@@ -24,7 +27,7 @@ const {chromium, webkit, firefox} = require('playwright');
(async () => {
const browser = await chromium.launch();
- // ...
+ // ...
})();
```