Thank you, Butch Mayhew for your course, Learning Playwright on LinkedIn Learning.
Playwright was launched back in January 2020, by Google Puppeteer developers who took what they learned to build a new automation framework for Microsoft. According to the Playwright Doc, "Getting Started", "Playwright Test was created specifically to accommodate the needs of end-to-end testing. Playwright supports all modern rendering engines including Chromium, WebKit, and Firefox. Test on Windows, Linux, and macOS, locally or on CI, headless or headed with native mobile emulation of Google Chrome for Android and Mobile Safari".
Related Links:
- GitHub: https://github.com/microsoft/playwright
- NPM: https://www.npmjs.com/package/playwright
- Documentation: https://playwright.dev/docs/intro
So far, I am halfway though Learning Playwright. I am really loving how the course has it's own GitHub repo, with each chapter has its own branch. Students can practice building out a Playwright framework, chapter by chapter, typing out the code themselves -- the best way to learn. And if the student feels like skipping that exercise they can just pull the next branch lesson to their local machine.
Butch included a Resources File which walks through things like:
The Resources File also covers: Updating The Playwright Config, Configuring Browsers, Exploring The Test Runner Command Line Interface, Exploring the VS Code Extension, Exploring Playwright UI Mode, Generating Tests With Codegen, Overview of Assertions in Playwright, Handling Cookie Authentication in Playwright, Visual Testing in Playwright, API Testing in Playwright. It also covers using Playwright Screenshots, Videos, and Reporters, the Playwright Trace Viewer, and Scaling Playwright Tests.
Butch, a Playwright Ambassador, also has a related site, Playwright Solutions.
Four years ago, it was Ruby that was in demand, an easier language for manual testers to pick up. I was able to go from an SDET position using Ruby + Capybara to an SDET position using Ruby + Watir. Now, it seems everyone is looking for Playwright + TypeScript... which I do not have any experience in.
Looks like I need to take a few more courses, then practice putting together some Playwright frameworks, blogging here about my Adventures in Automation.
Happy Testing!
-T.J. Maher
Software Engineer in Test
BlueSky | YouTube | LinkedIn | Articles
Four years ago, it was Ruby that was in demand, an easier language for manual testers to pick up. I was able to go from an SDET position using Ruby + Capybara to an SDET position using Ruby + Watir. Now, it seems everyone is looking for Playwright + TypeScript... which I do not have any experience in.
Looks like I need to take a few more courses, then practice putting together some Playwright frameworks, blogging here about my Adventures in Automation.
Happy Testing!
Practicing Playwright:
- Part One: Time to Practice Playwright!
- Part Two: New Playwright Course: Playwright Essential Training by Butch Mayhew
- Part Three: Hands on Automated Testing with Playwright by Butch Mayhew is the start of a wonderful conversation with the Playwright community!
- Part Four: What happens when you pair Playwright with something other than TypeScript?
- Part Five: Logging in by Storing and Using an Authentication Cookie in Your Automated Tests
- Part Six: How to Detect Broken Images On Your Site
- Part Seven: Dynamically Creating Test Data with a DataFactory
- Part Eight: Visual Testing With Playwright
- Part Nine: API Testing, Intercepting Network Requests, and Mocking APIs
- Source Code: https://github.com/tjmaher/practicing-playwright
-T.J. Maher
Software Engineer in Test
BlueSky | YouTube | LinkedIn | Articles
No comments:
Post a Comment