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/
Good to have these in playwright features 👍 appreciate your hard work in helping testing community.. Keep doing the good work 😊 thanks Playwright team👍
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.
page.addLocatorHandler() is awesome feature.
Very useful
🎭
The new tagging is great, much cleaner test titles. Locator handler is nice too we use it to close the cookie banner as it’s not in all test envs so this handles it nicely
Gonna try 1 and 3 tomorrow IST in our framework.. Thanks for bringing these enhancements Playwright
The new tagging is SWEET!
ISTQB (ASTQB) Certified QA | Manual & Automation Testing | Playwright | Jira | Exploring AI in Testing | Remote Work Advocate
1yWow it's really great!!! But I think, we need to grow the Playwrite community on every single platform, to involve all testers.