Testopic
Testopic
  • 5
  • 210 279
🎭 Playwright vs ✅ Selenium | Browser Automation 2021 Showdown
In this episode, we draw the line: mature and experienced vs. young and energetic? Which is the automation tool of choice: 🎭 Playwright or ✅ Selenium? With my trusty scale ⚖️, we'll weigh some of the key features of these two: browser support, languages, web interactions, speed, community, waiting and so on.
Who's gonna win? Could be Selenium, or maybe Playwright? Test Automation or automated testing? Nobody knows 👀 ...
👉 Head over to testopic.com/playwright to join Playwright NTTN.
Other mentioned links
- Checkly speed testing methodology blog.checklyhq.com/puppeteer-vs-selenium-vs-playwright-speed-comparison/#methodology-or-how-we-ran-the-benchmark
- Simon Stuart 2016 email - lists.w3.org/Archives/Public/public-browser-tools-testing/2016OctDec/0058.html
Chapters:
00:00 Intro
00:41 Playwright in 30 seconds
01:17 Official browser support
02:05 Language Bindings
02:40 Basic Web Interactions
04:48 Speed
06:03 Speed: Starting the browser
07:58 Waiting
10:37 Community Support
11:41 Playwright native
13:06 Outro
มุมมอง: 60 701

วีดีโอ

What is Playwright? (🎭 Playwright introduction tutorial, features & demo)
มุมมอง 107K3 ปีที่แล้ว
In this episode, we take a look at a relatively new automation tool called 🎭Playwright: what it is, how to install it, how to generate scripts without writing code, how to interact with elements on the screen, and finally, how to take screenshots and videos of your run. During the demo, we'll have a go at the Playwright Inspector as well. Oh, and it's a beginner tutorial, so you don't need any ...
Automate those forms! - Go Hybrid! ep. 01
มุมมอง 2.8K3 ปีที่แล้ว
💡 The "Go Hybrid!" series explores the layer between 💪 manual and 🦾 automated testing. No frameworks, no steep learning curves, just productivity hacks. I'm exploring no-code and low-code tools to augment day-to-day tasks that can be made sweeter through easy automation. 💡 In the first episode, we tackle Filling Boring Forms. The video is split into 4 levels of difficulty, you know, like single...
What is automated testing? Beginner intro & automation demo
มุมมอง 36K3 ปีที่แล้ว
What is automated testing? How does test automation fit into application development? What are the usual types of automated testing and what are its powers and weaknesses? Follow me through this short beginner tutorial as I take you step by step through automated testing. Towards the end of the video you'll be challenged to learn your first automation tool. It can be used for testing, but works...
What is HTTP? | HTTP explained in 6 minutes
มุมมอง 4.1K3 ปีที่แล้ว
What is HTTP? In this beginner tutorial we look at the 5 most important tips about how the web and http work: what HTTP stands for, the client server model, HTTP request, HTTP response & HTTP in the OSI model. Stick around to the end to find out how you can see this in practice in your own browser. Chapters: 00:00 Intro 00:24 HTTP Meaning 00:53 Client/Server Model 02:00 HTTP Request 04:24 HTTP ...

ความคิดเห็น

  • @ajlazana9244
    @ajlazana9244 7 วันที่ผ่านมา

    Great content! Plz keep it up! New QA engineer learner here!

  • @thomasloading
    @thomasloading 10 วันที่ผ่านมา

    Hey Victor, do you still make videos somewhere else?

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

    Thank you. This was a helpful kickstart (in late 2024)! btw. I still use NetBeans :) If you get the error, that playwright/test needs to be installed, then check in the Playwright Inspector Window the option "Target" and set it from "Test Runner" to "Library". This changes the js code and then it works.

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

    I wish I had found your videos 3 years ago! Brother you have no idea how easy you've made it for me to FINALLY UNDERSTAND AUTOMATION TESTING !!!! I wasted $4000 on a bootcamp that taught me nothing but gave a fake resume with fake experiences . THANK YOU SOO MUCH AND PLEASE KEEP TEACHING LIKE THIS .. i WILL SHARE YOUR LESSONS WITH EVERYONE I KNOW WHO NEEDS IT.

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

    Great content. Too sad that he’s not active anymore

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

    So helpful. Now I plan to use it.

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

    Hi when I try to run the command as you said in your video like mom I-D playwright Then I am getting this error <cannot be loaded because running scripts is disabled on this system Can you please tell me why

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

    "Shadow DOM Piercing", is that a fatality on a HTML structure by any chance?!

  • @NatashaMabaire
    @NatashaMabaire 2 หลายเดือนก่อน

    This video was GENIUS!!! So insightful and really helpful in getting a deeper understanding of automation testing

  • @Johnello1
    @Johnello1 2 หลายเดือนก่อน

    salutare! ai cumva materiale actualizate undeva? observ ca acest material este de 3 ani :( doar ce am incercat sa-l instalez si a fost un "bumpy ride" cel putin :)) m-am lovit acum de cateva erori cand incerc sa compilez/rulez codul capturat, insa sunt convins ca o sa reusesc.. nu ajuta prea mult chat gpt aici

  • @lexidugo
    @lexidugo 2 หลายเดือนก่อน

    This is so unbelievably helpful. Thank you!!

  • @linux-dev-labs
    @linux-dev-labs 3 หลายเดือนก่อน

    I prefer Neovim or Doom Emacs. Also, I have no idea why anyone would waste their time trying to develop anything on Windows. That is just a headache.

  • @reciklista1620
    @reciklista1620 3 หลายเดือนก่อน

    The guy is very nice, but this way I was not able to install playwright. It didnt run for me, I tried to debug it for quite a while but that was not working either. (I got the error: Error: Playwright Test did not expect test() to be called here.Most common reasons include:- You are calling test() in a configuration file.- You are calling test() in a file that is imported by the configuration file.- You have two different versions of @playwright/test. This usually happens when one of the dependencies in your package.json depends on @playwright/test.). So I do not recommend to follow this tutorial, I think it is misleading.

  • @jeffrey6124
    @jeffrey6124 3 หลายเดือนก่อน

    Made the 1K click here 😁 worth the click ☺

  • @EscapeinTones-w3x
    @EscapeinTones-w3x 3 หลายเดือนก่อน

    Thanks for the birds behind!! Love them!!

  • @Shuturmynskyi
    @Shuturmynskyi 3 หลายเดือนก่อน

    This video should have 1 million views, it has more use than two QA books that I've read...

  • @Ray-no2mq
    @Ray-no2mq 3 หลายเดือนก่อน

    Just beginning to learn about automation testing and found this video and the visuals very helpful! But I'm wanting to ensure I understand... What was your example test at the end of the video actually testing? That the Google search results were bringing you to the right place? Or that the auto-generated test in Selenium was returning the expected result (as in, bringing you to the Testopic TH-cam page)? If the latter, since the test was auto-generated, how would it *not* return the expected result?

    • @zackribbe4430
      @zackribbe4430 2 หลายเดือนก่อน

      In this case, think of Google as the software you are testing. In this example, he wants to make sure the Google search function works. Additionally, he wants to make sure that the results of the search are correct and that the first link brings you to the correct page. A few examples of issues would be, 1. The first search result is broken, so the link brings you to a 404 page. That is an issue with the Google search result and can be noted and the developer can fix it. 2. If there was a problem with the test steps within the testing tool (i.e. selenium), a couple of things could happen. If it doesn't successfully run through all of the steps you will get an error. I think it could also get "stuck" on a step though I'm not sure how common that is. If it's an error, it will tell you at which step it failed at and you can see if you did something incorrectly and fix it and rerun the tests. An example would be let's say he has a typo in the URL. If it doesn't correctly go to the Google homepage, the rest of the steps will fail because it won't be able to find the search bar to search. Hopefully that makes sense.

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

    Thanks you for very much, very nice to quickly grasp, playwright, having known selenium.

  • @Ish-YouTube
    @Ish-YouTube 4 หลายเดือนก่อน

    I really like the fact that IE support weights more than auto-wait support. there are so much more to compare, and this video need some corrections also. 1. Playwright is way faster than shown here. 2. didn't mention the fact that Playwright uses WebSocket to communicate with the Browser. 3. Playwright supports API testing, Visual testing, network control (intercept, mock, etc) and more 4. did mention Videos but didn't mention built in reporters and trace. there is so much to say, but TH-cam comments aren't the place.

  • @ManShellz234
    @ManShellz234 5 หลายเดือนก่อน

    I am going to use you as a professional reference as well as a training coach on my résumé for this experience. Thank you so much!😅

  • @Bayanda7
    @Bayanda7 5 หลายเดือนก่อน

    Great video, makes me wanna get started on it immediately

  • @BadBackOz
    @BadBackOz 5 หลายเดือนก่อน

    It's so easy to configure your own WebElement objects with custom methods in order to control the waiting, polling, validating, etc. I don't understand the knock on Selenium from this standpoint. Have been using it for years and no flakiness issues introduced besides those from poor developers. Will be diving into Playwright shortly and see how that goes though.

    • @BadBackOz
      @BadBackOz 5 หลายเดือนก่อน

      Have been exploring Playwright for a few days and like it so far. Definitely spins up a bit quicker, but wouldn't necessarily say that the code is cleaner than framework and language I have been using for Selenium, at least not in JS.

  • @enokmalik
    @enokmalik 5 หลายเดือนก่อน

    good stuff!

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

    vote for Selenium vs playwright vs cypress

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

    Thanks

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

    thank you

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

    Unfortunately Selenium doesn't capture when I press Enter. I tried to get around this by just clicking the Search button but then it gets stuck because it cant immediately find the next element I click on (your youtube channel). It looked so simple yet I've somehow failed at the first hurdle! 😭

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

    So clear explanation. Subbed

  • @HezronKamwaro-g8v
    @HezronKamwaro-g8v 6 หลายเดือนก่อน

    Rimumrti

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

    I've been looking for a way to switch the POE on/off on various unifi switch ports for ages. I had hoped to write simple scripts to SSH into the switch and toggle the power, but unifi doesn't have that functionality and it's possible only via the web browser. This is the PERFECT solution to do what I need. Very excited to try it out!

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

    In fairness at 10:04 this guy intentionally makes selenium more complicated. A better and more readable was to write the code would be. wait = webdriverwait(driver, 10).until(expectedcontions.elementtobeclickable(by.xpath("//locator"))) Wait.click() When you're using unexpected conditions you're already locating the element so the third line is completely unnecessary and redundant and you can shorten it further by importing expected conditions as EC. So what I write is: wait = webdriverwait(driver, 10).until(EC.elementtobeclickable(by.xpath("//locator"))) Wait.click()

    • @BadBackOz
      @BadBackOz 5 หลายเดือนก่อน

      Just follow the Page Object Model and on top of that create an Element object. Write your own methods in there with the appropriate wait times and checks for each interaction type. For example, element.click() should have code in it to wait for object to be visible. There aren't that many commonly used actions and you can simply write your validators this way as well.

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

    Thanks for this video. This brief intro to Playwright made a big difference for me. 😃

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

    I’m a visual learner and this is so valuable for my learning style. Pictures and stories make information more tangible for me. Thank you so much.

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

    Great primer on automated testing! Very helpful for the novice looking a conceptual understanding. Bravo!

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

    great video, short and understandable! thanks

  • @boot2478
    @boot2478 9 หลายเดือนก่อน

    I just graduated and landed my first job as a software test engineer! I have to admit I didn't know anything about automated testing, but this video is makes it easier to understand what I'm getting into!

  • @akaFito
    @akaFito 9 หลายเดือนก่อน

    3 years later but i must say this is one of the best videos i have ever seen. Period. Good information, good narration and excelent use of graphic and visual elements to complement the information. It really helped me a lot. New subscriber here.

  • @Mvrck44
    @Mvrck44 9 หลายเดือนก่อน

    Nice backdrop, refreshing after all those neon-setting tutorial videos! And very well presented, too, thank you!

  • @eduardointech
    @eduardointech 9 หลายเดือนก่อน

    Thank you so much! Great explanation !

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

    Love your video

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

    I think your axis should be flipped

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

    Thanks for the quality content!

  • @carloscode5-jm7qh
    @carloscode5-jm7qh 10 หลายเดือนก่อน

    @Testopic came across your video wanting to learn a LEGIT understanding on Playwright and I'm glad I clicked the thumbnail. Your format and layout of the video and topics was clear, clean and to the point without boring me. Definitely subscribing, thank you for taking the time to create this and an inspiration for me when I start making tutorials! Thank you!

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

    great video thanks for this

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

    I humbly request you to please keep posting more of such content and I really loved your presentation style. Keep up the good work.

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

    This is fantastic. I've started a new Job in IT & got very curious about Automation Testing this was exactly what i needed . ありがとう

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

    nice, thanks

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

    Thanks a lot for giving such quality knowledge for free on youtube. You made my day. Thanks

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

    Amazing feature! Thanks for sharing

  • @ПавелВылиток-р7ш
    @ПавелВылиток-р7ш 11 หลายเดือนก่อน

    Thanks a lot for the such useful video!