Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 1.58 KB

File metadata and controls

16 lines (15 loc) · 1.58 KB

WebDriverExtensions.GetSession(OpenQA.Selenium.IWebDriver) Method

Gets this OpenQA.Selenium.IWebDriver instance OpenQA.Selenium.Remote.SessionId. If there is no
OpenQA.Selenium.Remote.SessionId for this driver, a new one will be created.

public static OpenQA.Selenium.Remote.SessionId GetSession(this OpenQA.Selenium.IWebDriver driver);

Parameters

driver OpenQA.Selenium.IWebDriver
This OpenQA.Selenium.IWebDriver instance.

Returns

OpenQA.Selenium.Remote.SessionId
Opaque handle to this window that uniquely identifies it within this driver instance.