Playwright 1.42 is out! 🏷️ New Tags and Annotations 📷 Screenshot Styling ⚠️ Locator Handler Watch the release video: https://lnkd.in/eVuEq4Fb
What's new in Playwright v1.41 & v1.42
https://www.youtube.com/
Interesting! I like the new tagging!
The key points covered in the video are: New Tags and Annotations: Tags are used for filtering tests. Previously, tags were specified inside the test title. The new syntax is to define tags in a separate object after the title. Annotations are used to add additional information to a test. They can include a type and a description with a link, for example to a related Github issue. Annotations are now placed outside of the test body. Screenshot Styling: This feature allows you to control what gets captured in a screenshot during a test. You can specify a CSS file to style the screenshot, for example to hide unwanted elements like iframes or canvas. Locator Handlers: This is an experimental feature to deal with unpredictable overlays that appear on a page. It allows you to define a handler function that is called when Playwright encounters a specific locator text on the page. The handler function can then perform actions to get rid of the overlay, such as clicking a close button. The speaker recommends updating to the latest version of Playwright to get these new features and bug fixes. They also asked for feedback on the experimental locator handler feature.
Good to have these in playwright features 👍 appreciate your hard work in helping testing community.. Keep doing the good work 😊 thanks Playwright team👍
Perfect timing, I was just in need of that locator handler. 🙂
Anderson Soares , Leandro Ucuamba , Agostinho Xavier , Djalma Sinde check it out 🎭
The new tagging is SWEET!
This is awesome stuff!
Gonna try 1 and 3 tomorrow IST in our framework.. Thanks for bringing these enhancements Playwright
Expert in Test Automation & QA Leadership | Driving Quality & Efficiency in Software Testing | Playwright | TypeScript | CI/CD | AWS
1yThanks for sharing