Skip to main content
Version: 20.1.0

Page.title() method

The page's title

Signature:

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

Returns:

Promise<string>

Remarks

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