mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
22 lines
435 B
Markdown
22 lines
435 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Page](./puppeteer.page.md) > [title](./puppeteer.page.title.md)
|
||
|
|
||
|
## Page.title() method
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
title(): Promise<string>;
|
||
|
```
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
Promise<string>
|
||
|
|
||
|
The page's title
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
Shortcut for [page.mainFrame().title()](./puppeteer.frame.title.md).
|
||
|
|