# Instructions

- Following Playwright test failed.
- Explain why, be concise, respect Playwright best practices.
- Provide a snippet of code with the fix, if possible.

# Test info

- Name: test.js >> browser can generate PNG
- Location: browser-test/test.js:12:1

# Error details

```
Error: page.waitForSelector: Target page, context or browser has been closed
Call log:
  - waiting for locator('#summary') to be visible
    61 × locator resolved to hidden <h2 id="summary"></h2>

```

```
Error: write EPIPE
```