Beispiel #1
0
 /// <summary>Get current URL query parameters and it's values.</summary>
 /// <param name="webDriver">Target WebDriver</param>
 /// <returns>Collection of URL parameters names as keys and parameters values as values</returns>
 public static NameValueCollection GetUrlParameters(this IWebDriver webDriver)
 {
     return(HttpLib.ParseQueryString(new Uri(webDriver.Url).Query));
 }
Beispiel #2
0
 public NameValueCollection ShouldParseUrlQueryString(string queryString)
 {
     return(HttpLib.ParseQueryString(queryString));
 }