Class NewSessionPayload

java.lang.Object
org.openqa.selenium.remote.NewSessionPayload
All Implemented Interfaces:
Closeable, AutoCloseable

public class NewSessionPayload extends Object implements Closeable
  • Method Details

    • create

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

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

      public static NewSessionPayload create(Map<String,?> source)
    • create

      public static NewSessionPayload create(org.openqa.selenium.remote.http.Contents.Supplier supplier)
    • getSupplier

      public org.openqa.selenium.remote.http.Contents.Supplier getSupplier()
    • writeTo

      public void writeTo(Appendable appendable) throws IOException
      Throws:
      IOException
    • stream

      public 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 Set<Dialect> getDownstreamDialects()
    • getMetadata

      public Map<String,Object> getMetadata()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • toString

      public String toString()
      Overrides:
      toString in class Object