ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

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

ความคิดเห็น • 21

  • @Matkotech
    @Matkotech 28 วันที่ผ่านมา +11

    Great content, you should make complete advanced Playwright course! 💪☺️

    • @tehsu4u
      @tehsu4u 23 วันที่ผ่านมา

      Absolutely, he is playwright expert and it would be handy.

  • @Muhammad55597
    @Muhammad55597 28 วันที่ผ่านมา +3

    that's a wonderful explanation, the best channel to deliver Playwright content

    • @ChecklyHQ
      @ChecklyHQ  28 วันที่ผ่านมา

      Thank you! 💙

  • @alleluiaizimpamvu9971
    @alleluiaizimpamvu9971 28 วันที่ผ่านมา +1

    I am starting falling in love with your concise content on Playwright

    • @ChecklyHQ
      @ChecklyHQ  28 วันที่ผ่านมา

      Thanks! 💙 Happy it's been valuable!

  • @seekerofsense
    @seekerofsense 14 วันที่ผ่านมา

    Superb explanation as always, glad you've become a Playwright ambassador

    • @ChecklyHQ
      @ChecklyHQ  14 วันที่ผ่านมา

      Thanks. Yeah, I've been an ambassador for quite a while but missed showing it in the videos. 🫣

  • @berhell.videos
    @berhell.videos 23 วันที่ผ่านมา

    Stefan, you're content is always cool!!! Thanks for this one!

    • @ChecklyHQ
      @ChecklyHQ  22 วันที่ผ่านมา

      Thanks for the kind words! 💙

  • @DavidHill1980
    @DavidHill1980 28 วันที่ผ่านมา +3

    better then Microsoft

  • @HossamEldinMohamed3
    @HossamEldinMohamed3 28 วันที่ผ่านมา +1

    Excellent explanation. Thanks so much.👏

    • @ChecklyHQ
      @ChecklyHQ  28 วันที่ผ่านมา

      Happy it's been valuable. 💙

  • @feralgoose7157
    @feralgoose7157 23 วันที่ผ่านมา

    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.

  • @serdarfesli2433
    @serdarfesli2433 27 วันที่ผ่านมา

    great videos as always.

    • @ChecklyHQ
      @ChecklyHQ  27 วันที่ผ่านมา

      Glad you like them! 😊

  • @andreaskarz
    @andreaskarz 27 วันที่ผ่านมา

    Ganz geil, merci 🙂

  • @claudsammy
    @claudsammy 27 วันที่ผ่านมา

    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!

  • @_firearmy
    @_firearmy 28 วันที่ผ่านมา +1

    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. 😇

    • @ChecklyHQ
      @ChecklyHQ  28 วันที่ผ่านมา

      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

  • @eternaldreaamz
    @eternaldreaamz 28 วันที่ผ่านมา +1

    I love your tutorial please create course playwright with TS on udemy 😁