Class SwitchToWindowTitle

java.lang.Object
net.serenitybdd.screenplay.actions.SwitchToWindowTitle
All Implemented Interfaces:
net.serenitybdd.core.SkipNested, net.serenitybdd.screenplay.Performable, net.serenitybdd.screenplay.Task

public class SwitchToWindowTitle extends Object implements net.serenitybdd.screenplay.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"; see WebDriver.TargetLocator.window(String). The window name and window title are not always the same; see documentation.