Package org.openqa.selenium.remote
Class NewSessionPayload
java.lang.Object
org.openqa.selenium.remote.NewSessionPayload
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static NewSessionPayloadcreate(Collection<org.openqa.selenium.Capabilities> caps) static NewSessionPayloadstatic NewSessionPayloadcreate(org.openqa.selenium.Capabilities caps) static NewSessionPayloadcreate(org.openqa.selenium.remote.http.Contents.Supplier supplier) org.openqa.selenium.remote.http.Contents.SupplierStream<org.openqa.selenium.Capabilities> stream()Stream theCapabilitiesencoded in the payload used to create this instance.toString()voidwriteTo(Appendable appendable)
-
Method Details
-
create
-
create
-
create
-
create
-
getSupplier
public org.openqa.selenium.remote.http.Contents.Supplier getSupplier() -
writeTo
- Throws:
IOException
-
stream
Stream theCapabilitiesencoded in the payload used to create this instance. TheStreamwill expand each of the "firstMatch" and "alwaysMatch" contents as defined in the W3C WebDriver spec. -
getDownstreamDialects
-
getMetadata
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
toString
-