puppeteer/website/versioned_docs/version-19.6.0/api/puppeteer.page.title.md

24 lines
273 B
Markdown
Raw Normal View History

---
sidebar_label: Page.title
---
# Page.title() method
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
class Page {
title(): Promise<string>;
}
```
**Returns:**
Promise&lt;string&gt;
The page's title
## Remarks
Shortcut for [page.mainFrame().title()](./puppeteer.frame.title.md).