C# Класс OpenQA.Selenium.Remote.Server.SessionManager

Manages the sessions active in the remote server.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CreateSession SessionId
GetSession DriverSession
LoadDriverType System.Type
RegisterDriver void
RemoveSession void
SessionExists bool
SessionManager System

Защищенные методы

Метод Описание
OnDriverRegistrationFailed ( DriverRegistrationFailedEventArgs e ) : void

Raises the event for driver registration failure.

Приватные методы

Метод Описание
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.

Описание методов

OnDriverRegistrationFailed() защищенный Метод

Raises the event for driver registration failure.
protected OnDriverRegistrationFailed ( DriverRegistrationFailedEventArgs e ) : void
e DriverRegistrationFailedEventArgs A object describing /// the reason the driver registration failed.
Результат void