Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: update GitHub issue template (#12752)
Ross Wollmanb364efca38de
diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.mdindex 3277cf41ba..6b212dcc69 100644--- a/.github/ISSUE_TEMPLATE/bug.md+++ b/.github/ISSUE_TEMPLATE/bug.md@@ -27,7 +27,20 @@ const {chromium, webkit, firefox} = require('playwright');(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(`+ <div>+ …+ </div>+ `);+ // Alternatively, if you are testing a public application, include the URL:+ // await page.goto('https://example.com/')++ await page.locator(…);})();```