Playwright’s Post

View organization page for Playwright, graphic

26,180 followers

Playwright 1.42 is out! 🏷️ New Tags and Annotations 📷 Screenshot Styling ⚠️ Locator Handler Watch the release video: https://lnkd.in/eVuEq4Fb

Douglas Urrea Ocampo

Senior QA Automation Engineer at Endava

7mo

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.

Farman Khattak

Senior SQA Automation Engineer | Automation | Playwright | TestNG|(BDD) Framework | POM |#opentowork| Cucumber | Java | JavaScript | QA | Tester |

7mo

Thank you Playwright Embracing the future of test automation, Playwright continues to innovate and offer new features that enhance the efficiency and effectiveness of our testing processes. As we continue to explore the possibilities offered by Playwright, it's clear that this tool is poised to revolutionize the way we approach test automation. By leveraging these new features and best practices, we can deliver more reliable, efficient, and maintainable tests that meet the evolving needs of our software development projects.

Like
Reply
Costa Giannakopoulos

Senior Software Development Engineer in Test II

7mo

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

Like
Reply
Ankit Gupta

Vice President at J.P. Morgan Chase | SDET | JAVA | AWS x2 | AZURE | CSM®| Selenium | REST Assured | Playwright | Cypress | TestComplete | Agile | Investment Banking | Jmeter |UFT|

7mo

Good to have these in playwright features 👍 appreciate your hard work in helping testing community.. Keep doing the good work 😊 thanks Playwright team👍

Deborah Costello

DCL Test Automation and Release

7mo

Glen Osborne = have a look Glen, the tags are exactly what we need.

Ghazal Pansari

CSM®| SDET-5 (Automation Architect) @ Walmart eCommerce

7mo

Gonna try 1 and 3 tomorrow IST in our framework.. Thanks for bringing these enhancements Playwright

Daniel Lindkvist

Testare, kvalitetssäkring på SecureAppbox AB

7mo

Perfect timing, I was just in need of that locator handler. 🙂

MOHAMMAD ATAI RABBI BHUIYAN

AI-powered SQA | ISTQB (ASTQB) | PlayWright Automation | Manual | chatGPT | Postman | CI/CD GitHub | Jira

7mo

Wow it's really great!!! But I think, we need to grow the Playwrite community on every single platform, to involve all testers.

Marko Simic

Senior QA Automation Engineer

7mo

page.addLocatorHandler() is awesome feature.

See more comments

To view or add a comment, sign in

Explore topics