mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
af08c5c903
* feat: expose the page getter on Frame Closes #8654 * test: add a test
20 lines
202 B
Markdown
20 lines
202 B
Markdown
---
|
|
sidebar_label: Frame.page
|
|
---
|
|
|
|
# Frame.page() method
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
class Frame {
|
|
page(): Page;
|
|
}
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
[Page](./puppeteer.page.md)
|
|
|
|
a page associated with the frame.
|