DefaultSelenium OpenWindow Method WebDriver
Opens a popup window (if a window with that ID isn't already open). After opening the window, you'll need to select it using the selectWindow command.

This command can also be a useful workaround for bug SEL-339. In some cases, Selenium will be unable to intercept a call to window.open (if the call occurs during or before the "onLoad" event, for example). In those cases, you can force Selenium to notice the open window's name by using the Selenium openWindow command, using an empty (blank) url, like this: openWindow("", "myFunnyWindow").

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public void OpenWindow(
	string url,
	string windowID
)

Parameters

url
Type: OnlineSystem String
the URL to open, which can be blank
windowID
Type: OnlineSystem String
the JavaScript window ID of the window to select

Implements

ISelenium OpenWindow(String, String)
See Also