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()
    • 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 interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException