How to use the find command in Playwright script effectively? or What’s the best way to implement the

14 Replies, 1022 Views

Thanks everyone! These tips are super helpful.

I tried `waitForSelector` + `page.locator()` like some of you suggested, and it’s way more reliable now. Still struggling with super dynamic stuff though—like elements that change IDs.

Anyone got a trick for that? Maybe XPath like @user3 mentioned?

Also, the Playwright inspector tool is a game-changer. Didn’t even know it existed!

Cheers Smile

Messages In This Thread



Users browsing this thread: 1 Guest(s)