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<Capabilities> caps) static NewSessionPayloadstatic NewSessionPayloadcreate(Capabilities caps) static NewSessionPayloadcreate(Contents.Supplier supplier) stream()Stream theCapabilitiesencoded in the payload used to create this instance.toString()voidwriteTo(Appendable appendable)
-
Method Details
-
create
-
create
-
create
-
create
-
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
-