An NDoc Documented Class Library |
|
ISelenium.GetWhetherThisWindowMatchWindowExpression Method
Determine whether currentWindowString plus target identify the window containing this running code.
This is useful in proxy injection mode, where this code runs in every browser frame and window, and sometimes the selenium server needs to identify the "current" window. In this case, when the test calls selectWindow, this routine is called for each window to figure out which one has been selected. The selected window will return true, while all others will return false.
bool GetWhetherThisWindowMatchWindowExpression(
string currentWindowString,
string target);
Parameters
- currentWindowString
- starting window
- target
- new window (which might be relative to the current one, e.g., "_parent")
Return Value
true if the new window is this code's window
See Also
ISelenium Interface | Selenium Namespace