2022-07-05 13:41:43 +00:00
---
sidebar_label: BrowserContext.pages
---
# BrowserContext.pages() method
2023-09-18 18:11:55 +00:00
Gets a list of all open [pages ](./puppeteer.page.md ) inside this [browser context ](./puppeteer.browsercontext.md ).
2022-07-05 13:41:43 +00:00
2022-10-24 07:07:05 +00:00
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class BrowserContext {
2023-09-18 18:11:55 +00:00
abstract pages(): Promise< Page [ ] > ;
2022-07-05 13:41:43 +00:00
}
```
**Returns:**
Promise< [Page](./puppeteer.page.md)\[\]>
2023-09-18 18:11:55 +00:00
## Remarks
Non-visible [pages ](./puppeteer.page.md ), such as `"background_page"` , will not be listed here. You can find them using [Target.page() ](./puppeteer.target.page.md ).