| Methods in org.openqa.selenium that return WebDriver |
WebDriver |
WebDriver.TargetLocator.defaultContent()
Selects either the first frame on the page, or the main document when a page contains iframes. |
WebDriver |
WebDriver.TargetLocator.frame(int frameIndex)
Select a frame by its (zero-based) index. |
WebDriver |
WebDriver.TargetLocator.frame(java.lang.String frameName)
Select a frame by its name or ID. |
WebDriver |
WebDriver.TargetLocator.window(java.lang.String windowName)
Switch the focus of future commands for this driver to the window with the given name |