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