Skip to main content
Version: 21.9.0

Page.url() method

The page's URL.

Signature:

class Page {
url(): string;
}

Returns:

string

Remarks

Shortcut for page.mainFrame().url().