Download a resource based on the given OpenQA.Selenium.IWebElement.
public static OpenQA.Selenium.IWebElement DownloadResource(this OpenQA.Selenium.IWebElement element, string path);
element OpenQA.Selenium.IWebElement
The OpenQA.Selenium.IWebElement to use when downloading a resource.
path System.String
The path on which the resource will be saved.
OpenQA.Selenium.IWebElement
A self-reference to this OpenQA.Selenium.IWebElement.