UNPKG

@serenity-js/web

Version:

Serenity/JS Screenplay Pattern library offering a flexible, web driver-agnostic approach for interacting with web-based user interfaces and components, suitable for various testing contexts

18 lines 663 B
/** * Enables the [`Task`](https://serenity-js.org/api/core/class/Task/) to [`Switch`](https://serenity-js.org/api/web/class/Switch/) to perform a sequence of activities * and switch back to the original context afterwards. * * ## Learn more * * - [`Switch`](https://serenity-js.org/api/web/class/Switch/) * - [`Switchable`](https://serenity-js.org/api/web/interface/Switchable/) * * @group Models */ export interface SwitchableOrigin { /** * Switches the context back to the original [`Switchable`](https://serenity-js.org/api/web/interface/Switchable/) */ switchBack(): Promise<void>; } //# sourceMappingURL=SwitchableOrigin.d.ts.map