Skip to main content

externalSwitchable

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

Implemented by

Index

Methods

Methods

externalswitchTo

  • 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>

Page Options