Class Screenshot
java.lang.Object
jp.co.moneyforward.autotest.actions.web.Screenshot
- All Implemented Interfaces:
Act<com.microsoft.playwright.Page, com.microsoft.playwright.Page>
public class Screenshot
extends Object
implements Act<com.microsoft.playwright.Page, com.microsoft.playwright.Page>
An act that does screenshot.
The browser screenshot is saved under
ExecutionEnvironment#testOutputFilenameFor("screenshot-{stepName}.png")
, where
{stepName}
is one of beforeAll
, beforeEach
, afterEach
, or afterAll
.- See Also:
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.microsoft.playwright.Page
perform
(com.microsoft.playwright.Page value, ExecutionEnvironment executionEnvironment) Performs the screenshot action.
-
Constructor Details
-
Screenshot
public Screenshot()Creates an instance of this class.
-
-
Method Details
-
perform
public com.microsoft.playwright.Page perform(com.microsoft.playwright.Page value, ExecutionEnvironment executionEnvironment) Performs the screenshot action.
-