ChainHacker
@chainhacker
Yeah, ARIA roles feel better. Migrating to locators using those. Could not wait with the article till total cleanup. `const resultModal = page.locator('[role="dialog"]').filter({ hasText: /You (won|lost)/i })`
1 reply
0 recast
0 reaction