Class NewSessionPayload

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

    public class NewSessionPayload
    extends java.lang.Object
    implements java.io.Closeable
    • Method Detail

      • create

        public static NewSessionPayload create​(org.openqa.selenium.Capabilities caps)
      • create

        public static NewSessionPayload create​(java.util.Collection<org.openqa.selenium.Capabilities> caps)
      • create

        public static NewSessionPayload create​(java.util.Map<java.lang.String,​?> source)
      • writeTo

        public void writeTo​(java.lang.Appendable appendable)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • stream

        public java.util.stream.Stream<org.openqa.selenium.Capabilities> stream()
        Stream the Capabilities encoded in the payload used to create this instance. The Stream will expand each of the "firstMatch" and "alwaysMatch" contents as defined in the W3C WebDriver spec.
      • getDownstreamDialects

        public java.util.Set<Dialect> getDownstreamDialects()
      • getMetadata

        public java.util.Map<java.lang.String,​java.lang.Object> getMetadata()
      • close

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object