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 NewSessionPayloadstatic NewSessionPayloadcreate(Collection<org.openqa.selenium.Capabilities> caps) static NewSessionPayloadstatic NewSessionPayloadcreate(org.openqa.selenium.Capabilities caps) Stream<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
-
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
-