PopupWindowFinder Invoke Method WebDriver
Invokes a method 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 Invoke(
	Action popupMethod
)

Parameters

popupMethod
Type: OnlineSystem Action
An OnlineAction that, when run, 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 action to invoke is  .
See Also