public class DefaultPlaywrightContext extends Object implements PlaywrightExecutionContext
| Constructor and Description |
|---|
DefaultPlaywrightContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
setCommand(PlaywrightCommand command) |
void |
setProject(org.apache.tools.ant.Project project) |
void |
start()
Starts the execution context and any work associated with the individual
implementations.
|
void |
stop(com.microsoft.playwright.Playwright playwright)
Stops the execution context and manages the Playwright instnace as well as any work associated
with the individual implementations.
|
public void setProject(org.apache.tools.ant.Project project)
setProject in interface ExecutionContextpublic void setCommand(PlaywrightCommand command)
setCommand in interface PlaywrightExecutionContextpublic void start()
throws IOException
ExecutionContextstart in interface ExecutionContextIOExceptionpublic void stop(com.microsoft.playwright.Playwright playwright)
throws IOException
PlaywrightExecutionContextstop in interface PlaywrightExecutionContextIOExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.