Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
import * as puppeteer from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/common/ExecutionContext.d.ts";

Classes

This class represents a context for JavaScript execution. A [Page] might have many execution contexts:

  • each frame has "default" execution context that is always created after frame is attached to DOM. This context is returned by the Frame.executionContext method.
  • Extension's content scripts create additional execution contexts.