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