ChromeOptionsAddWindowTypes Method (IEnumerableString)WebDriver
Adds a list of window types that will be listed in the list of window handles returned by the Chrome driver.

Namespace: OpenQA.Selenium.Chrome
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public void AddWindowTypes(
	IEnumerable<string> windowTypesToAdd
)

Parameters

windowTypesToAdd
Type: System.Collections.GenericIEnumerableString
An IEnumerableT of window types to add.
See Also

Reference