Class Session

  • All Implemented Interfaces:
    java.io.Serializable

    public class Session
    extends java.lang.Object
    implements java.io.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:
    Serialized Form
    • Method Detail

      • getUri

        public java.net.URI getUri()
      • getStartTime

        public java.time.Instant getStartTime()
      • equals

        public boolean equals​(java.lang.Object that)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object