diff --git a/lib/Commands.ml b/lib/Commands.ml index 928cd38..e2194fa 100644 --- a/lib/Commands.ml +++ b/lib/Commands.ml @@ -38066,12 +38066,18 @@ enabled until the result for this command is received. |desc}] [@yojson.option] [@ocaml.doc "Terminate execution after timing out (number of milliseconds)."] + scopeNumber : Types.number option; + [@key "scopeNumber"] + [@yojson.option] + [@ocaml.doc + "Specifies the scope number to evaluate the expression in \ + (default: 0, innermost scope)."] } [@@deriving yojson] let make ~callFrameId ~expression ?objectGroup ?includeCommandLineAPI - ?silent ?returnByValue ?generatePreview ?throwOnSideEffect ?timeout () - = + ?silent ?returnByValue ?generatePreview ?throwOnSideEffect ?timeout + ?scopeNumber () = { callFrameId; expression; @@ -38082,6 +38088,7 @@ enabled until the result for this command is received. |desc}] generatePreview; throwOnSideEffect; timeout; + scopeNumber; } end diff --git a/package.json b/package.json index 59cd09f..6189b2b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cdp", - "version": "0.0.1673900", + "version": "0.0.1674729", "description": "Chrome Devtools Protocol Types for OCaml", "license": "MIT", "repository": {