Skip to main content
Version: 18.0.5

Page.title() method

Signature:

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

Returns:

Promise<string>

The page's title

Remarks

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