- waitForWhetherThisFrameMatchFrameExpression(currentFrameString, target, pattern)
- Generated from getWhetherThisFrameMatchFrameExpression(currentFrameString, target)
-
Arguments:
- currentFrameString - starting frame
- target - new frame (which might be relative to the current one)
- Returns:
- true if the new frame is this code's window
Determine whether current/locator identify the frame 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" frame. In this case, when the test calls selectFrame, this
routine is called for each frame to figure out which one has been selected.
The selected frame will return true, while all others will return false.
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5