Class Session

java.lang.Object
org.openqa.selenium.grid.data.Session
All Implemented Interfaces:
Serializable

public class Session extends Object implements Serializable
Represents a running instance of a WebDriver session. It is identified by a SessionId. The serialized form is designed to mimic that of the return value of the New Session command, but an additional uri field must also be present.
See Also:
  • Constructor Details

    • Session

      public Session(org.openqa.selenium.remote.SessionId id, URI uri, org.openqa.selenium.Capabilities stereotype, org.openqa.selenium.Capabilities capabilities, Instant startTime)
  • Method Details

    • getId

      public org.openqa.selenium.remote.SessionId getId()
    • getUri

      public URI getUri()
    • getStereotype

      public org.openqa.selenium.Capabilities getStereotype()
    • getCapabilities

      public org.openqa.selenium.Capabilities getCapabilities()
    • getStartTime

      public Instant getStartTime()
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object