Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 1.66 KB

File metadata and controls

19 lines (17 loc) · 1.66 KB

WebElementExtensions.DownloadResource(OpenQA.Selenium.IWebElement, string) Method

Download a resource based on the given OpenQA.Selenium.IWebElement.

public static OpenQA.Selenium.IWebElement DownloadResource(this OpenQA.Selenium.IWebElement element, string path);

Parameters

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.

Returns

OpenQA.Selenium.IWebElement
A self-reference to this OpenQA.Selenium.IWebElement.