public class Switch extends Object
Constructor and Description |
---|
Switch() |
Modifier and Type | Method and Description |
---|---|
static Performable |
toActiveElement() |
static Performable |
toAlert() |
static Performable |
toDefaultContext() |
static Performable |
toFrame(Integer frameId) |
static Performable |
toFrame(String frameName) |
static Performable |
toFrame(org.openqa.selenium.WebElement webElement) |
static Performable |
toNewWindow() |
static Performable |
toNewWindow(org.openqa.selenium.WindowType windowType) |
static Performable |
toParentFrame() |
static Performable |
toTheOtherWindow()
Switch to the first window that is not the current window.
|
static Performable |
toWindow(String nameOrHandle) |
static Performable |
toWindowTitled(String title) |
public static Performable toFrame(Integer frameId)
public static Performable toNewWindow(org.openqa.selenium.WindowType windowType)
public static Performable toFrame(String frameName)
public static Performable toFrame(org.openqa.selenium.WebElement webElement)
public static Performable toParentFrame()
public static Performable toWindow(String nameOrHandle)
public static Performable toNewWindow()
public static Performable toWindowTitled(String title)
public static Performable toTheOtherWindow()
public static Performable toAlert()
public static Performable toDefaultContext()
public static Performable toActiveElement()
Copyright © 2022. All rights reserved.