Closed GoogleCodeExporter closed 9 years ago
/** Selects a frame within the current window. (You may invoke this command
multiple times to select nested frames.) To select the parent frame, use
"relative=parent" as a locator; to select the top frame, use "relative=top".
You can also select a frame by its 0-based index number; select the first frame
with
"index=0", or the third frame with "index=2".
<p>You may also use a DOM expression to identify the frame you want directly,
like this: <code>dom=frames["main"].frames["subframe"]</code></p>
@param locator an <a href="#locators">element locator</a> identifying a frame
or iframe
*/
void selectFrame(String locator);
/** Determine whether current/locator identify the frame containing this
running code.
<p>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.</p>
@param currentFrameString starting frame
@param target new frame (which might be relative to the current one)
@return true if the new frame is this code's window
*/
boolean getWhetherThisFrameMatchFrameExpression(String
currentFrameString,String target);
/** Waits for a new frame to load.
<p>Selenium constantly keeps track of new pages and frames loading,
and sets a "newPageLoaded" flag when it first notices a page load.</p>
See waitForPageToLoad for more information.
@param frameAddress FrameAddress from the server side
@param timeout a timeout in milliseconds, after which this command will return
with
an error
*/
void waitForFrameToLoad(String frameAddress,String timeout);
Original comment by John.Jian.Fang@gmail.com
on 28 Oct 2008 at 9:31
Original comment by John.Jian.Fang@gmail.com
on 4 Nov 2008 at 4:16
Original issue reported on code.google.com by
John.Jian.Fang@gmail.com
on 28 Oct 2008 at 9:16