Package step.plugins.cypress
Class CypressSessionManager
- java.lang.Object
-
- step.plugins.cypress.CypressSessionManager
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class CypressSessionManager extends Object implements Closeable
-
-
Constructor Summary
Constructors Constructor Description CypressSessionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
File
getCypressRunnerPath()
CypressSession
getSession(String id)
CypressSession
newSession(boolean takeScreenshots, boolean headless, String baseUrl, File projectFile)
-
-
-
Method Detail
-
getCypressRunnerPath
public File getCypressRunnerPath()
-
newSession
public CypressSession newSession(boolean takeScreenshots, boolean headless, String baseUrl, File projectFile) throws ch.exense.commons.processes.ManagedProcess.ManagedProcessException, InterruptedException, IOException
- Throws:
ch.exense.commons.processes.ManagedProcess.ManagedProcessException
InterruptedException
IOException
-
getSession
public CypressSession getSession(String id)
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-