Screenshots after every test #2184
driesie
started this conversation in
General Discussion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all
I am using Selenide for mobile testing and I have found the below snippet which creates my allure reports but I want the ability to create a screenshot after every @test to attach to my report, even if successful.
static void setupAllureReports() { SelenideLogger.addListener("AllureSelenide", new AllureSelenide() .screenshots(true) .savePageSource(true) );
I found the below snippet of code to attach a png file to my report but I don't know how to take a screenshot on demand.
Beta Was this translation helpful? Give feedback.
All reactions