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"; see
WebDriver.TargetLocator.window(String)
. The window name and window title are
not always the same; see documentation.Modifier and Type | Method and Description |
---|---|
<T extends Actor> |
performAs(T actor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
called, thatPerforms, thatPerforms, where, where, where, where
then
public <T extends Actor> void performAs(T actor)
performAs
in interface Performable
Copyright © 2023. All rights reserved.