UNPKG

puppeteer-core

Version:

A high-level API to control headless Chrome over the DevTools Protocol

1 lines 2.42 kB
{"version":3,"file":"WebWorker.js","sourceRoot":"","sources":["../../../../src/cdp/WebWorker.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,eAAe,EAAkB,MAAM,sBAAsB,CAAC;AAEtE,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAC,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAC,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAkB1C;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,SAAS;IACzC,MAAM,CAAgB;IACtB,OAAO,CAAa;IACX,GAAG,CAAS;IACZ,WAAW,CAAa;IAEjC,YACE,MAAkB,EAClB,GAAW,EACX,QAAgB,EAChB,UAAsB,EACtB,gBAA0C,EAC1C,eAAwC;QAExC,KAAK,CAAC,GAAG,CAAC,CAAC;QACX,IAAI,CAAC,GAAG,GAAG,QAAQ,CAAC;QACpB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAI,CAAC,MAAM,GAAG,IAAI,aAAa,CAAC,IAAI,EAAE,IAAI,eAAe,EAAE,CAAC,CAAC;QAE7D,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iCAAiC,EAAE,KAAK,EAAC,KAAK,EAAC,EAAE;YACjE,IAAI,CAAC,MAAM,CAAC,UAAU,CACpB,IAAI,gBAAgB,CAAC,MAAM,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CACzD,C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