PopupWindowFinder Click Method WebDriver
Clicks on an element that is expected to trigger a popup browser window.

Namespace: OpenQA.Selenium.Support.UI
Assembly: WebDriver.Support (in WebDriver.Support.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public string Click(
	IWebElement element
)

Parameters

element
Type: OpenQA.Selenium IWebElement
The IWebElement that, when clicked, invokes the popup browser window.

Return Value

The window handle of the popup browser window.
Exceptions

ExceptionCondition
OpenQA.Selenium WebDriverTimeoutExceptionThrown if no popup window appears within the specified timeout.
OnlineSystem ArgumentNullExceptionThrown if the element to click is  .
See Also