Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 1.47 KB

File metadata and controls

19 lines (17 loc) · 1.47 KB

WebDriverExtensions.SendGetCommand(OpenQA.Selenium.IWebDriver, string) Method

Sends GET command directly to this OpenQA.Selenium.IWebDriver instance.

public static string SendGetCommand(this OpenQA.Selenium.IWebDriver driver, string route);

Parameters

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

route System.String
Command route starting with "/" (use the complete route which comes after session id).

Returns

System.String
Command response as JSON (if available).