Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method BrowserContext.prototype.pages
Re-export
import { BrowserContext } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";

An array of all pages inside the browser context.

Returns

Promise<Page[]>

Promise which resolves to an array of all open pages. Non visible pages, such as "background_page", will not be listed here. You can find them using Target.page | the target page.