MCPcopy Create free account
hub / github.com/tebeka/selenium / SwitchFrame

Method SwitchFrame

selenium.go:266–266  ·  view source on GitHub ↗

SwitchFrame switches to the given frame. The frame parameter can be the frame's ID as a string, its WebElement instance as returned by GetElement, or nil to switch to the current top-level browsing context.

(frame interface{})

Source from the content-addressed store, hash-verified

264 // frame's ID as a string, its WebElement instance as returned by
265 // GetElement, or nil to switch to the current top-level browsing context.
266 SwitchFrame(frame interface{}) error
267 // SwitchWindow switches the context to the specified window.
268 SwitchWindow(name string) error
269 // CloseWindow closes the specified window.

Callers 1

testSwitchFrameFunction · 0.65

Implementers 1

remoteWDremote.go

Calls

no outgoing calls

Tested by 1

testSwitchFrameFunction · 0.52