diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index 7452593a9..6580e2a32 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -18,6 +18,14 @@ assignees: '' Help us help you! Put down a short code snippet that illustrates your bug and that we can run and debug locally. + +```python +from playwright.sync_api import sync_playwright +with sync_playwright() as p: + browser = p.chromium.launch() + page = browser.new_page() + # ... + browser.close() ``` **Describe the bug**