Table of Contents

Class SessionId

Namespace
OpenQA.Selenium.Remote
Assembly
WebDriver.dll

Provides a mechanism for maintaining a session for a test

public class SessionId
Inheritance
SessionId
Inherited Members

Constructors

SessionId(string)

Initializes a new instance of the SessionId class

public SessionId(string opaqueKey)

Parameters

opaqueKey string

Key for the session in use

Methods

Equals(object)

Compares two Sessions

public override bool Equals(object obj)

Parameters

obj object

Session to compare

Returns

bool

True if they are equal or False if they are not

GetHashCode()

Get the hash code of the key

public override int GetHashCode()

Returns

int

The hash code of the key

ToString()

Get the value of the key

public override string ToString()

Returns

string

The key in use