diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index 6b212dcc69..370d836a4e 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -7,43 +7,66 @@ assignees: '' --- -**Context:** -- Playwright Version: [what Playwright version do you use?] -- Operating System: [e.g. Windows, Linux or Mac] -- Node.js version: [e.g. 12.22, 14.6] -- Browser: [e.g. All, Chromium, Firefox, WebKit] -- Extra: [any specific details about your environment] + - - + + + -**Code Snippet** +### System info +- Playwright Version: [v1.XX] +- Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.] +- Browser: [All, Chromium, Firefox, WebKit] +- Other info: -Help us help you! Put down a short code snippet that illustrates your bug and -that we can run and debug locally. For example: +### Source code -```javascript -const {chromium, webkit, firefox} = require('playwright'); +- [ ] I provided exact source code that allows reproducing the issue locally. -(async () => { - const browser = await chromium.launch(); - const context = await browser.newContext(); - const page = await context.newPage(); - - // Please include a snippet of HTML that shows an example of the content - // you are testing. - await page.setContent(` -