import {Navigate} from '@serenity-js/protractor/lib/screenplay/interactions'
public class | source

Navigate

Allows the Actor to navigate to a specific destination, as well as back and forth in the browser history.

Extends:

Interaction → Navigate

Direct Subclasses:

src/screenplay/interactions/Navigate.ts~NavigateBack, src/screenplay/interactions/Navigate.ts~NavigateForward, src/screenplay/interactions/Navigate.ts~NavigateToUrl, src/screenplay/interactions/Navigate.ts~NavigateToUrlWithTimeout, src/screenplay/interactions/Navigate.ts~ReloadPage

Static Method Summary

Static Public Methods
public static

back(): NavigateBack

public static

forward(): NavigateForward

public static

reloadPage(): ReloadPage

public static

to(url: Answerable): NavigateToUrl

Static Public Methods

public static back(): NavigateBack source

Returns:

NavigateBack

public static forward(): NavigateForward source

Returns:

NavigateForward

public static reloadPage(): ReloadPage source

Returns:

ReloadPage

public static to(url: Answerable): NavigateToUrl source

Params:

NameTypeAttributeDescription
url Answerable

Returns:

NavigateToUrl