Simplifies the process of selecting a popup window (and does not offer
functionality beyond what already provides).
Namespace: SeleniumselectWindow()
- If is either not specified, or specified as "null", the first non-top window is selected. The top window is the one that would be selected by
windowID
without providing aselectWindow()
. This should not be used when more than one popup window is in play.windowID
- Otherwise, the window will be looked up considering
as the following in order: 1) the "name" of the window, as specified to
windowID
; 2) a javascript variable which is a reference to a window; and 3) the title of the window. This is the same ordered lookup performed bywindow.open()
.selectWindow
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
Parameters
- windowID
- Type:
System String
an identifier for the popup window, which can take on a number of different meanings
Implements
ISelenium SelectPopUp(String)See Also