MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / frame

Method frame

java/src/org/openqa/selenium/WebDriver.java:393–393  ·  view source on GitHub ↗

Select a frame by its (zero-based) index. Selecting a frame by index is equivalent to the JS expression window.frames[index] where "window" is the DOM window represented by the current context. Once the frame has been selected, all subsequent calls on the WebDriver interface are made to that frame.

(int index)

Source from the content-addressed store, hash-verified

391 * @throws NoSuchFrameException If the frame cannot be found
392 */
393 WebDriver frame(int index);
394
395 /**
396 * Select a frame by its name or ID. Frames located by matching name attributes are always given

Callers 15

WebDriverClass · 0.65
WebDriverClass · 0.65
uploaded_body_textMethod · 0.65
attemptToSwitchFramesFunction · 0.65
window_test.jsFile · 0.65
actions_test.jsFile · 0.65
frame_test.jsFile · 0.65
upload_test.jsFile · 0.65
input_test.jsFile · 0.65

Implementers 2

RemoteTargetLocatorjava/src/org/openqa/selenium/remote/Re
TargetLocatorjavascript/selenium-webdriver/lib/webd

Calls

no outgoing calls