An NDoc Documented Class Library

DefaultSelenium.SelectFrame Method 

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 may also use a DOM expression to identify the frame you want directly, like this:

dom=frames["main"].frames["subframe"]

public void SelectFrame(
   string locator
);

Parameters

locator
an element locator identifying a frame or iframe

Implements

ISelenium.SelectFrame

See Also

DefaultSelenium Class | Selenium Namespace