Rayrun
← Back to Discord Forum

how to take screenshots at the exact moment of failure

vipinphogatposted in #help-playwright
Open in Discord
vipinphogat

In my playwright framework i am using soft assertions. Is it possible to take the screenshot at the exact moment of the failure? In the html report, can we attach the screenshot at the test step level?

This thread is trying to answer question "Is it possible to take a screenshot at the exact moment of failure in a playwright framework using soft assertions and attach it to the HTML report at the test step level?"

0 replies
TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.