Skip to main content
Version: 23.10.0

Page.title() method

The page's title

Signature

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

Returns:

Promise<string>

Remarks

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