What's new in Playwright v1.40

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024

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

  • @theillo4739
    @theillo4739 11 หลายเดือนก่อน +21

    I love how with each release cypress falls further and further behind :D

  • @SamPrince
    @SamPrince 11 หลายเดือนก่อน +7

    Massive improvement. Thank you team. Well done for consistently bringing high-value features. It was great even before this version!

  • @philipdeluca2077
    @philipdeluca2077 11 หลายเดือนก่อน +3

    Assertion recording for the test generation is crazy!! amazing work

  • @carln22
    @carln22 11 หลายเดือนก่อน +2

    Thank you for this mind blowing update🤯!
    The tips are very helpful too.
    Keep up the amazing work!

  • @BBolloBB
    @BBolloBB 10 หลายเดือนก่อน

    The little tip for eslint no floating promises is such a game changer, thank you.

  • @samsuthenakbarali1115
    @samsuthenakbarali1115 11 หลายเดือนก่อน +2

    This is fantastic and makes my automation journey even smoother. Thanks a ton for your hard work and continuous improvement.

  • @saikrish7724
    @saikrish7724 10 หลายเดือนก่อน

    Playwright a powerful automation tool with powerful features and thanks for keep adding more and more feature which makes it very special

  • @AnonYmous-kf7uu
    @AnonYmous-kf7uu 11 หลายเดือนก่อน +1

    I remember starting in test automation back in 2003 and QTP had the code generation abilities. I’m glad it’s been modernized!

  • @Fireflysuper
    @Fireflysuper 10 หลายเดือนก่อน

    Great job, guys! I'm so excited to see that amazing progress moving us all forward in our possibilities of automation testing. Thank you so much!

  • @WinnieYuen
    @WinnieYuen 11 หลายเดือนก่อน +3

    Awesome! Thank you for making Playwright better and better ❤

  • @owcaandroid
    @owcaandroid 8 หลายเดือนก่อน

    Great feature, another big step I think :) And very nice demo, I found Debbie's enthusiasm very helpful to stay focus on a video, thanks a lot :)

  • @WishInfinite
    @WishInfinite 11 หลายเดือนก่อน +7

    Thank you team, Amazing Feature added. Testing community is going to thank you for years. 😊
    And Thank you Debbie for explaining the functionality with such details.
    Super like from me👌👍
    I will be including this functionality into My upcoming video.

  • @aslamshah88
    @aslamshah88 10 หลายเดือนก่อน

    Currently moving from cypress to playwright and i am so surprised how seamless and powerful playwright is, especially on the CI. Thank you for the new update.

  • @JasurKalandarov-m9t
    @JasurKalandarov-m9t 11 หลายเดือนก่อน +1

    Great product! Love it! I've even persuaded a few people to drop their beloved Cypress, Puppeteer and other frameworks and use Playwright. I wonder any plans to integrate with Cucumber in the future.

  • @winterheat
    @winterheat 11 หลายเดือนก่อน +1

    just for comparison purpose, which testing libraries also give you the "Record" function that will give you the line of code 2:50

  • @LucasSmit-o5w
    @LucasSmit-o5w 11 หลายเดือนก่อน

    Really amazing. Thanks for the new features!

  • @huigangZhang
    @huigangZhang 11 หลายเดือนก่อน +6

    Really nice feature for the assertion recording! I never expect this will happen, thank you playwright team!

  • @andreytsybulski3121
    @andreytsybulski3121 11 หลายเดือนก่อน +1

    Wonderful, as usual. Thanks a lot.

  • @EwelinaWes
    @EwelinaWes 11 หลายเดือนก่อน +2

    Amazing update ! ;)

  • @1haker
    @1haker 8 หลายเดือนก่อน

    Incredible work !

  • @georgioslytos7993
    @georgioslytos7993 11 หลายเดือนก่อน +1

    Is there any way we can use the debugger tool when using playwright in docker?

  • @og4789
    @og4789 11 หลายเดือนก่อน +1

    Thanks for your hard work 🎉

  • @daelin
    @daelin 10 หลายเดือนก่อน

    I am a bit worried about Andrey Lushnikov. May I ask why he stopped appearing in these videos? Is he still in charge of Playwright?

  • @ZZ-md8xn
    @ZZ-md8xn 11 หลายเดือนก่อน

    When are you planning to add visual comparison capability to .NET flavour of Playwright?

  • @KristianGrönberg
    @KristianGrönberg 11 หลายเดือนก่อน +1

    Nice update. Will UI mode come to Python as well?

  • @NathonMowbray-u8p
    @NathonMowbray-u8p 11 หลายเดือนก่อน +2

    I have found that the test generator doesn't always choose the best locators, are there any plans to configure it so if x locator is not available you can set it to look for b. For example before there was no good locators so test generator was giving me back an xpath we know xpath can be flaky. A dev ads a testid but the locator that is chosen is still an xpath

    • @Playwrightdev
      @Playwrightdev  11 หลายเดือนก่อน

      This should not be the case. In that scenario please file a bug on GitHub with your HTML structure, the element you are trying to get a locator for. Happy to look into it!

    • @Impzorz
      @Impzorz 11 หลายเดือนก่อน

      You could always edit the code after to get the right locator, no?

    • @nathonmowbray
      @nathonmowbray 11 หลายเดือนก่อน

      You can, kinda defeats the purpose of using the code generator which is why I was saying it's not the greatest...lol.

    • @nathonmowbray
      @nathonmowbray 11 หลายเดือนก่อน

      ​@@PlaywrightdevI will log an issue on GitHub, I just thought it was a limitation of code generator as the documentation says it's not ideal to use ids or testids

  • @marioraspe
    @marioraspe 11 หลายเดือนก่อน

    What about the "eslint-plugin-playwright"? Is it recommended?

  • @rstark
    @rstark 10 หลายเดือนก่อน +1

    Where's Andrey?

  • @Nik-vz1tt
    @Nik-vz1tt 6 หลายเดือนก่อน

    Great feature! But using Playwright 1.42.1 and the tool bar is shown in the browser, but the icons not. Have to wait for the tooltips to show to be able to choose the right tool :)

  • @EricChua-gm9in
    @EricChua-gm9in 11 หลายเดือนก่อน +1

    Can Playwright works on older firefox browser? I have a legacy system which works on firefox v36.0.4, wonder it will work with that browser (assume I test using firefox as a profile)?

    • @Playwrightdev
      @Playwrightdev  11 หลายเดือนก่อน +1

      Playwright versions are bound to a fixed version of Firefox. So if you use latest Playwright, you test latest Firefox. Testing on such old versions is not supported.

    • @EricChua-gm9in
      @EricChua-gm9in 11 หลายเดือนก่อน

      @@Playwrightdev One more question. What if I have a web page that requires user to authenticate using his fingerprint, is there a way that I can trigger wait for user to take action before resume the rest of the test? can this be done?

  • @ThomasKowalski
    @ThomasKowalski 10 หลายเดือนก่อน

    Amazing work and Demo. Playwright is such an awesome tool. Highly recommended

  • @EugeneM
    @EugeneM 4 หลายเดือนก่อน

    I see test automation anti-patern here :) If you record tests with a recorder and, let's say, you wrote a 100 of tests and then devs change a design a bit (e.g getByRole cannot find some button because the name of the button was changed) you would need to modify a lot of lines in every affected test. So, the right approach is - selectors should be reusable. Assertions are cool but recording is not.

  • @BradFerreira0
    @BradFerreira0 11 หลายเดือนก่อน +1

    is it possible to run the recorder without vs code or the extension?

    • @Playwrightdev
      @Playwrightdev  11 หลายเดือนก่อน +4

      Yes, "npx playwright codegen" will also open the Inspector / Recorder. See the docs if you are using a different language binding.

    • @BradFerreira0
      @BradFerreira0 11 หลายเดือนก่อน

      Thanks so much, this will be a real time saver!@@Playwrightdev

  • @noobplayer0
    @noobplayer0 10 หลายเดือนก่อน

    how can i disable incognito mode when i use playwrite test cases with angular?
    I can't really find the fix for this problem since a while

    • @Playwrightdev
      @Playwrightdev  10 หลายเดือนก่อน

      I recommend filing an issue on GitHub why Playwright's default mode does not work for you.

  • @PeterDuimelaar
    @PeterDuimelaar 10 หลายเดือนก่อน

    Question. I want to use the recoder BUT I need to add a header to give myself some authorization. Whats best way to do this? I tried with setextraheader in the config but no result.

    • @Playwrightdev
      @Playwrightdev  10 หลายเดือนก่อน

      You can launch codegen via page.pause() as per here: playwright.dev/docs/codegen#record-using-custom-setup
      Before that you can set your custom launch/context options, interact with the page etc.

  • @drmrgtx
    @drmrgtx 11 หลายเดือนก่อน

    Do you have ambassador with python knowledge? I would be happy to have a dedicated "What'n new" editions with her/him, speaking about only python...

  • @Norfeldt
    @Norfeldt 10 หลายเดือนก่อน

    Can't find in the docs how to setup linting - I struggle with figuring out how to configure .eslintrc.,cjs with a tsconfig (which isn't in the project?)

    • @Playwrightdev
      @Playwrightdev  10 หลายเดือนก่อน

      I hope that helps! typescript-eslint.io/rules/no-floating-promises/

  • @NerdyThrowbackTech
    @NerdyThrowbackTech 11 หลายเดือนก่อน +1

    Great update

  • @sakibahmed6051
    @sakibahmed6051 11 หลายเดือนก่อน +1

    awesome stuff

  • @kailashpathak9184
    @kailashpathak9184 11 หลายเดือนก่อน

    This is Amazing !!

  • @yoryivaldez4315
    @yoryivaldez4315 11 หลายเดือนก่อน

    This is really good

  • @netrebova
    @netrebova 11 หลายเดือนก่อน

    Amazing!!

  • @dezzymei
    @dezzymei 11 หลายเดือนก่อน

    Awesome

  • @Floweenka
    @Floweenka 11 หลายเดือนก่อน

    nice! Thanks!

  • @sanderpacheco5679
    @sanderpacheco5679 11 หลายเดือนก่อน +3

    more updates for the python version

    • @Playwrightdev
      @Playwrightdev  11 หลายเดือนก่อน +5

      this update works for python too. check the python docs on test generator for more details

    • @dzham47
      @dzham47 11 หลายเดือนก่อน +1

      🙌Nice@@Playwrightdev

    • @drmrgtx
      @drmrgtx 11 หลายเดือนก่อน

      I never use test generator, there is always a better way to find an element than its suggesting it. For complex page objects of course... Test generator works only with simple structures

  • @dangnguyen.92
    @dangnguyen.92 11 หลายเดือนก่อน

    very cool

  • @humrod1852
    @humrod1852 7 หลายเดือนก่อน

    It's sad to see Playwright go the route of Telerik Test Studio or Selenium IDE from over 10 yrs ago. RnP tools are a fool's folly. This is what ends up lumping together SDETs w/ manual testers into the same category of "programming rejects 'cause they can't code". Also, test automation is coding...why would you NOT lint it and format it!? It's still just code!

  • @luckytima2315
    @luckytima2315 6 หลายเดือนก่อน

    Я так понял русский разрабытвают Playwrith ))

  • @yogeshdawkhar
    @yogeshdawkhar 7 หลายเดือนก่อน

    Is it possible to change default "test-results" directory location?
    tried outputDir: './reports/end2end', but did not work.

    • @Playwrightdev
      @Playwrightdev  7 หลายเดือนก่อน

      outputDir should work. Make sure to specify it in your top-level object in your config: playwright.dev/docs/api/class-testconfig#test-config-output-dir Otherwise feel free to file a bug.