public class Switch
extends java.lang.Object
Constructor and Description |
---|
Switch() |
Modifier and Type | Method and Description |
---|---|
static net.serenitybdd.screenplay.Performable |
toActiveElement() |
static net.serenitybdd.screenplay.Performable |
toAlert() |
static net.serenitybdd.screenplay.Performable |
toDefaultContext() |
static net.serenitybdd.screenplay.Performable |
toFrame(java.lang.Integer frameId) |
static net.serenitybdd.screenplay.Performable |
toFrame(java.lang.String frameName) |
static net.serenitybdd.screenplay.Performable |
toFrame(org.openqa.selenium.WebElement webElement) |
static net.serenitybdd.screenplay.Performable |
toNewWindow() |
static net.serenitybdd.screenplay.Performable |
toParentFrame() |
static net.serenitybdd.screenplay.Performable |
toTheOtherWindow()
Switch to the first window that is not the current window.
|
static net.serenitybdd.screenplay.Performable |
toWindow(java.lang.String nameOrHandle) |
static net.serenitybdd.screenplay.Performable |
toWindowTitled(java.lang.String title) |
public static net.serenitybdd.screenplay.Performable toFrame(java.lang.Integer frameId)
public static net.serenitybdd.screenplay.Performable toFrame(java.lang.String frameName)
public static net.serenitybdd.screenplay.Performable toFrame(org.openqa.selenium.WebElement webElement)
public static net.serenitybdd.screenplay.Performable toParentFrame()
public static net.serenitybdd.screenplay.Performable toWindow(java.lang.String nameOrHandle)
public static net.serenitybdd.screenplay.Performable toNewWindow()
public static net.serenitybdd.screenplay.Performable toWindowTitled(java.lang.String title)
public static net.serenitybdd.screenplay.Performable toTheOtherWindow()
public static net.serenitybdd.screenplay.Performable toAlert()
public static net.serenitybdd.screenplay.Performable toDefaultContext()
public static net.serenitybdd.screenplay.Performable toActiveElement()