Oh man, I’ve been there! find in playwright can be a bit tricky with dynamic stuff. One thing that worked for me is using `page.waitForFunction` to wait for the element to be in the DOM before trying to find it.
Also, have you tried using `locator` instead of `find`? It’s more reliable in my experience, especially with dynamic content.
Here’s a quick example:
```javascript
await page.locator('your-selector').click();
```
Hope that helps!
Also, have you tried using `locator` instead of `find`? It’s more reliable in my experience, especially with dynamic content.
Here’s a quick example:
```javascript
await page.locator('your-selector').click();
```
Hope that helps!
