Skip to main content
Version: 19.7.4

Page.title() method

Signature:

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

Returns:

Promise<string>

The page's title

Remarks

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