Skip to main content
Version: 22.13.1

Page.title() method

The page's title

Signature:

class Page {
title(): Promise<string>;
}

Returns:

Promise<string>

Remarks

Shortcut for page.mainFrame().title().