Short & sweet:
`page.locator('button >> text=Submit')` is my goto.
For debugging, `pwDEBUG` flag or just `pause()`.
Test IDs > all. Fight me.
Success rate: 80%. DOMs suck.
`page.locator('button >> text=Submit')` is my goto.
For debugging, `pwDEBUG` flag or just `pause()`.
Test IDs > all. Fight me.
Success rate: 80%. DOMs suck.
