find in playwright can be a bit of a headache, but one thing that’s helped me is using `page.waitForSelector` with a higher timeout. Sometimes the elements just take longer to load, and this ensures Playwright waits for them.
Also, try using `page.locator` instead of `find`. It’s more reliable, especially with dynamic content.
Here’s a quick example:
```javascript
await page.locator('your-selector').click();
```
Good luck!
Also, try using `page.locator` instead of `find`. It’s more reliable, especially with dynamic content.
Here’s a quick example:
```javascript
await page.locator('your-selector').click();
```
Good luck!
