Skip to main content
Version: 21.3.2

Page.title() method

The page's title

Signature:

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

Returns:

Promise<string>

Remarks

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