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

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.