Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 1.66 KB

File metadata and controls

22 lines (20 loc) · 1.66 KB

WebDriverExtensions.PersistentClick(OpenQA.Selenium.IWebDriver, OpenQA.Selenium.By) Method

Persistently attempts to find and click on the given element, until successful
or until no exceptions has been thrown.

public static OpenQA.Selenium.IWebDriver PersistentClick(this OpenQA.Selenium.IWebDriver driver, OpenQA.Selenium.By by);

Parameters

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

by OpenQA.Selenium.By
The locating mechanism to use.

Returns

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

Remarks

If not provided, the default timeout is 10 seconds.