Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Methods

Methods

toJson

  • toJson(): any
  • returns the object as JSON, so you don't need to call methods to obtain property values.

    example
    page.on("console",(details)=>{
    console.warn(details.toJson());
    });

    Returns any