Ugh, the find command in Playwright script can be finicky with dynamic content.
Try using `text=` or `has-text` selectors—they’re way more reliable for stuff that changes. Example:
```javascript
await page.locator('button:has-text("Submit")').click();
```
If that doesn’t work, maybe your page needs more time to load? `page.waitForLoadState('networkidle')` might help.
Try using `text=` or `has-text` selectors—they’re way more reliable for stuff that changes. Example:
```javascript
await page.locator('button:has-text("Submit")').click();
```
If that doesn’t work, maybe your page needs more time to load? `page.waitForLoadState('networkidle')` might help.
