C# Class OpenQA.Selenium.Remote.Server.SessionManager

Manages the sessions active in the remote server.
Afficher le fichier Open project: jimevans/strontium

Private Properties

Свойство Type Description
CreateSession SessionId
GetSession DriverSession
LoadDriverType System.Type
RegisterDriver void
RemoveSession void
SessionExists bool
SessionManager System

Méthodes protégées

Méthode Description
OnDriverRegistrationFailed ( DriverRegistrationFailedEventArgs e ) : void

Raises the event for driver registration failure.

Private Methods

Méthode Description
CreateSession ( ICapabilities desiredCapabilities ) : SessionId

Creates a new session with the desired capabilities.

GetSession ( SessionId sessionId ) : DriverSession

Gets an existing session given the specified SessionId.

LoadDriverType ( string typeDescriptor ) : Type
RegisterDriver ( ICapabilities capabilities, string className ) : void

Registers a driver for use with the SessionManager.

RemoveSession ( SessionId sessionId ) : void

Removes a session.

SessionExists ( SessionId sessionId ) : bool
SessionManager ( ) : System

Prevents a default instance of the SessionManager class from being created.

Method Details

OnDriverRegistrationFailed() protected méthode

Raises the event for driver registration failure.
protected OnDriverRegistrationFailed ( DriverRegistrationFailedEventArgs e ) : void
e DriverRegistrationFailedEventArgs A object describing /// the reason the driver registration failed.
Résultat void