Skip to main content
Go to Latest
namespace default.Runtime
import { default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { Runtime } = default;

Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects. Evaluation results are returned as mirror object that expose object type, string representation and unique identifier that can be used for further object reference. Original objects are maintained in memory unless they are either explicitly released or are released along with the other objects in their object group.

Interfaces

Notification is issued every time when binding is called.

Represents function call argument. Either remote object id objectId, primitive value, unserializable primitive value or neither of (for undefined) them should be specified.

Stack entry for runtime errors and assertions.

Issued when console API was called.

Detailed information about exception (or error) that was thrown during script compilation or execution.

Issued when unhandled exception was revoked.

Issued when exception was thrown and unhandled.

Issued when new execution context is created.

Description of an isolated world.

Issued when execution context is destroyed.

Issued when object should be inspected (for example, as a result of inspect() command line API call).

Object internal property descriptor. This property isn't normally visible in JavaScript code.

Object containing abbreviated remote object value.

Object private field descriptor.

Object property descriptor.

Mirror object referencing original JavaScript object.

Call frames for assertions or error messages.

If debuggerId is set stack trace comes from another debugger and can be resolved there. This allows to track cross-debugger calls. See Runtime.StackTrace and Debugger.paused for usages.

Type Aliases

Id of an execution context.

Unique object identifier.

Unique script identifier.

Number of milliseconds.

Number of milliseconds since epoch.

Unique identifier of current debugger.

Primitive value which cannot be JSON-stringified. Includes values -0, NaN, Infinity, -Infinity, and bigint literals.