import {Website} from '@serenity-js/webdriverio/lib/screenplay/questions'
public class | source

Website

Static Method Summary

Static Public Methods
public static

title(): Question<Promise<string>>

Retrieves the document title of the current top-level browsing context, equivalent to calling document.title.

public static

url(): Question<Promise<string>>

Retrieves the URL of the current top-level browsing context.

Static Public Methods

public static title(): Question<Promise<string>> source

Retrieves the document title of the current top-level browsing context, equivalent to calling document.title.

Returns:

Question<Promise<string>>

public static url(): Question<Promise<string>> source

Retrieves the URL of the current top-level browsing context.

Returns:

Question<Promise<string>>