Switchable
Implemented by
Index
Methods
Methods
switchTo
Switches the context to the object implementing this interface and returns SwitchableOrigin that allows for the context to be switched back when needed.
Returns Promise<SwitchableOrigin>
Switches the context to the object implementing this interface and returns SwitchableOrigin that allows for the context to be switched back when needed.
Describes a Serenity/JS model object that can be switched to and switched back from using the task to Switch.
Examples of switchable models include a Page and PageElement.
Learn more