Skip to main content
Module

x/puppeteer/mod.ts>BrowserContext#pages

A port of puppeteer running on Deno
Latest
method BrowserContext.prototype.pages
Re-export
import { BrowserContext } from "https://deno.land/x/puppeteer@16.2.0/mod.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.