Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/src/ExecutionContext.ts

Headless Chrome Deno API
Latest
import * as pptr from "https://deno.land/x/pptr@1.2.0/src/ExecutionContext.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.