Class SwitchToWindowTitle
- java.lang.Object
-
- net.serenitybdd.screenplay.actions.SwitchToWindowTitle
-
- All Implemented Interfaces:
SkipNested,Performable,Task
public class SwitchToWindowTitle extends Object implements Task
Switch.toWindow(String)is not always correct! The method signature seems to suggest you will be switching to "windowTitle". However you are actually switching to "window with the given name/handle"; seeWebDriver.TargetLocator.window(String). The window name and window title are not always the same; see documentation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Actor>
voidperformAs(T actor)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.serenitybdd.screenplay.Performable
then
-
-
-
-
Method Detail
-
performAs
public <T extends Actor> void performAs(T actor)
- Specified by:
performAsin interfacePerformable
-
-