puppeteer/docs/api/puppeteer.page.url.md

22 lines
220 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Page.url
---
# Page.url() method
**Signature:**
```typescript
class Page {
url(): string;
}
```
**Returns:**
string
## Remarks
Shortcut for [page.mainFrame().url()](./puppeteer.frame.url.md).