"Struggling with the find command in Playwright script—any tips?"
Hey folks!
I’ve been trying to use the find command in Playwright script to locate some elements, but it’s not working as smoothly as I hoped.
Sometimes it misses dynamic elements, or just doesn’t return anything. Am I missing something?
Like, is there a trick to make it more reliable? Or should I just use other selectors instead?
Any help would be awesome!
Thanks
---
*PS: If you’ve got examples of the find command in Playwright script working with dynamic stuff, pls share!*
Hey folks!
I’ve been trying to use the find command in Playwright script to locate some elements, but it’s not working as smoothly as I hoped.
Sometimes it misses dynamic elements, or just doesn’t return anything. Am I missing something?
Like, is there a trick to make it more reliable? Or should I just use other selectors instead?
Any help would be awesome!
Thanks
---
*PS: If you’ve got examples of the find command in Playwright script working with dynamic stuff, pls share!*
