Testing_Selenium::selectPopUp
Simplifies the process of selecting a popup window (and does not offer functionality beyond what <code>selectWindow()</code> already provides).
<ul> <li> If <code>windowID</code> 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 <code>selectWindow()</code> without providing a <code>windowID</code> . This should not be used when more than one popup window is in play. </li> <li> Otherwise, the window will be looked up considering <code>windowID</code> as the following in order: 1) the "name" of the window, as specified to <code>window.open()</code>; 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 by <code>selectWindow</code> . </li> </ul>
Signature
public function selectPopUp(string
$windowIDÂ )
Parameters
-
$windowID
- an identifier for the popup window, which can take on a number of different meanings