Class CypressSessionManager

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class CypressSessionManager
    extends java.lang.Object
    implements java.io.Closeable
    • Constructor Detail

      • CypressSessionManager

        public CypressSessionManager​(int port)
    • Method Detail

      • getCypressRunnerPath

        public java.io.File getCypressRunnerPath()
      • getActualPort

        public int getActualPort()
      • newCommandRunnerSession

        public CypressCommandRunnerSession newCommandRunnerSession​(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
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
      • removeSpecRunnerSession

        public void removeSpecRunnerSession​(java.lang.String id)