ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
Why "page.goto()" is slowing down your tests
ฝัง
- เผยแพร่เมื่อ 7 ส.ค. 2024
- In this video, we dive into Playwright's "page.goto()" and understand why it could be slowing down your end-to-end tests. We start with an example script and then walk you through the Playwright UI mode to understand how resource loading can delay the "page.goto()" call.
We also look into the different "waitUntil" configurations and check how they affect the speed of your tests. Enjoy, and drop any questions or comments below!
Blog post: www.checklyhq.com/blog/
"page.goto()" docs: playwright.dev/docs/api/class...
"addLocatorHandler" explained: • New in Playwright end-...
Playwright synthetic monitoring: www.checklyhq.com/product/syn...
0:00 Intro
1:52 How does "page.goto()" work?
3:38 Should you use other "waitUntil" options?
4:49 Playwright auto-waiting and web-first assertions
5:39 Poor UX and poor hydration patterns
7:07 Should you use "commit" or "domcontentloaded" - it depends!
8:24 Outro
#playwright #syntheticmonitoring #checkly
Great content, you should make complete advanced Playwright course! 💪☺️
Absolutely, he is playwright expert and it would be handy.
that's a wonderful explanation, the best channel to deliver Playwright content
Thank you! 💙
I am starting falling in love with your concise content on Playwright
Thanks! 💙 Happy it's been valuable!
Superb explanation as always, glad you've become a Playwright ambassador
Thanks. Yeah, I've been an ambassador for quite a while but missed showing it in the videos. 🫣
Stefan, you're content is always cool!!! Thanks for this one!
Thanks for the kind words! 💙
better then Microsoft
Excellent explanation. Thanks so much.👏
Happy it's been valuable. 💙
Thanks, this was implemented so long ago, so now you saved me time in my runs. Interested in other tips, hard to keep up with all these tweaks.
great videos as always.
Glad you like them! 😊
Ganz geil, merci 🙂
Great tip as always!! Love your work! How do you write tests if you MUST handle situations where the developers use bad-form lazy loading which allows users to interact when they shouldn't be able to? As you mentioned, this is a common problem. It would be good to get some tips/tricks on that!
Thank you for wonderful explaination video about page.goto. 👏👏 Could you please share your test report tool shown in 07:44 minutes. Pls consider a video about your tool. 😇
That is Checkly - our tool. 🫣 You can find more info about it on checklyhq.com.
In a nutshell and very brief: Checkly enables you to run and schedule your Playwright scripts to receive timely alerts when something's off with your prod site. :)
And we have more videos about it here on the channel. :) 👇
th-cam.com/play/PLMZDRUOi3a8M95AwN8fWKL8VA5OJ73kJc.html
I love your tutorial please create course playwright with TS on udemy 😁