Debbie OāBrien āSenior Program Manager at Microsoftā joins Amal & Nick for a deep-dive on Playwright, an automation library for cross-browser end-to-end testing. Along the way, we learn why Microsoft decided to fork Puppeteer, Playwrightās unique value proposition, cool features like auto-waiting & the trace viewer, how it compares to Cypress & a lot more.
Matched from the episode's transcript š
Debbie OāBrien: [50:22] Okay. So yeah, Cypress is great. I used to use Cypress for many years, so I come from that world as well. We are newer, so therefore the community is smaller, which is my job, to grow the community. So Playwrightās been around for about two-and-a-half years now, so obviously, we do not have as much workshops out there, and examples, and videos, and stuff, which we are working on and we will have, and thanks to our ambassador page, youāll be able to find more content there, if thatās what youāre looking for.
When it comes to differences, I guess browser support - now, I know that Cypress has recently added WebKit support, because theyāre using the Playwright WebKit to be able to get that⦠So theyāre kind of a little bit on par, I guess, when it comes to the browser testing thanks to our open source work, of courseā¦
Then thereās other things, like multi-language. So this is something that I think is very important if youāre working with a team of many developers who work in different languages. So you can use Playwright in JavaScript, TypeScript, or you can use Playwright in .NET, or you can use Playwright in Java, or in Python. So you now have a team, and maybe - Nick, youāre a Python developer, and Amal, youāre a C# developer, and Iām TypeScript. So now we have different applications, because companies have different applications, and you want to write the test and the code that youāre comfortable with. So you write your tests, we all write different tests, and theyāre all different languages, but we have the same library, the same API, the same ā everything works the same. So if I read your test, I would understand it; just the syntax is a little different, so I might struggle kind of writing certain syntax, but I could read your test and understand it; you could read my test, Nick, and understand it. And I think that makes it really important that you have one workflow, one way of doing things, one library that people are just ā you just have to learn Playwright, and now you can workā