puppeteer/docs/api/puppeteer.page.title.md

273 B

sidebar_label
Page.title

Page.title() method

The page's title

Signature:

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

Returns:

Promise<string>

Remarks

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