@browserless.io/browserless 2.29.0-beta-1 → 2.29.0-beta-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/build/browsers/browsers.playwright.js +3 -1
  2. package/build/routes/chrome/http/content.post.body.json +8 -8
  3. package/build/routes/chrome/http/pdf.post.body.json +8 -8
  4. package/build/routes/chrome/http/scrape.post.body.json +8 -8
  5. package/build/routes/chrome/http/screenshot.post.body.json +8 -8
  6. package/build/routes/chrome/tests/websocket.spec.js +51 -0
  7. package/build/routes/chromium/http/content.post.body.json +8 -8
  8. package/build/routes/chromium/http/pdf.post.body.json +8 -8
  9. package/build/routes/chromium/http/scrape.post.body.json +8 -8
  10. package/build/routes/chromium/http/screenshot.post.body.json +8 -8
  11. package/build/routes/chromium/tests/pdf.spec.js +0 -1
  12. package/build/routes/chromium/tests/websocket.spec.js +51 -0
  13. package/build/routes/edge/http/content.post.body.json +8 -8
  14. package/build/routes/edge/http/pdf.post.body.json +8 -8
  15. package/build/routes/edge/http/scrape.post.body.json +8 -8
  16. package/build/routes/edge/http/screenshot.post.body.json +8 -8
  17. package/build/routes/edge/tests/websocket.spec.js +34 -0
  18. package/package.json +3 -3
  19. package/src/browsers/browsers.playwright.ts +4 -1
  20. package/src/routes/chrome/tests/websocket.spec.ts +70 -0
  21. package/src/routes/chromium/tests/pdf.spec.ts +0 -1
  22. package/src/routes/chromium/tests/websocket.spec.ts +70 -0
  23. package/src/routes/edge/tests/websocket.spec.ts +49 -0
  24. package/static/docs/swagger.json +9 -9
  25. package/static/docs/swagger.min.json +9 -9
  26. package/static/function/client.js +234 -559
  27. package/static/function/index.html +234 -559
@@ -4409,7 +4409,7 @@
4409
4409
  // node_modules/puppeteer-core/lib/esm/puppeteer/generated/version.js
4410
4410
  init_dirname();
4411
4411
  init_buffer2();
4412
- var packageVersion = "24.6.1";
4412
+ var packageVersion = "24.7.1";
4413
4413
 
4414
4414
  // node_modules/puppeteer-core/lib/esm/puppeteer/util/assert.js
4415
4415
  init_dirname();
@@ -4902,42 +4902,37 @@
4902
4902
  #disposed = false;
4903
4903
  #stack = [];
4904
4904
  /**
4905
- * Returns a value indicating whether this stack has been disposed.
4905
+ * Returns a value indicating whether the stack has been disposed.
4906
4906
  */
4907
4907
  get disposed() {
4908
4908
  return this.#disposed;
4909
4909
  }
4910
4910
  /**
4911
- * Disposes each resource in the stack in the reverse order that they were added.
4911
+ * Alias for `[Symbol.dispose]()`.
4912
4912
  */
4913
4913
  dispose() {
4914
- if (this.#disposed) {
4915
- return;
4916
- }
4917
- this.#disposed = true;
4918
- for (const resource of this.#stack.reverse()) {
4919
- resource[disposeSymbol]();
4920
- }
4914
+ this[disposeSymbol]();
4921
4915
  }
4922
4916
  /**
4923
- * Adds a disposable resource to the stack, returning the resource.
4917
+ * Adds a disposable resource to the top of stack, returning the resource.
4918
+ * Has no effect if provided `null` or `undefined`.
4924
4919
  *
4925
- * @param value - The resource to add. `null` and `undefined` will not be added,
4926
- * but will be returned.
4920
+ * @param value - A `Disposable` object, `null`, or `undefined`.
4921
+ * `null` and `undefined` will not be added, but will be returned.
4927
4922
  * @returns The provided `value`.
4928
4923
  */
4929
4924
  use(value) {
4930
- if (value) {
4925
+ if (value && typeof value[disposeSymbol] === "function") {
4931
4926
  this.#stack.push(value);
4932
4927
  }
4933
4928
  return value;
4934
4929
  }
4935
4930
  /**
4936
- * Adds a value and associated disposal callback as a resource to the stack.
4931
+ * Adds a non-disposable resource and a disposal callback to the top of the stack.
4937
4932
  *
4938
- * @param value - The value to add.
4939
- * @param onDispose - The callback to use in place of a `[disposeSymbol]()`
4940
- * method. Will be invoked with `value` as the first parameter.
4933
+ * @param value - A resource to be disposed.
4934
+ * @param onDispose - A callback invoked to dispose the provided value.
4935
+ * Will be invoked with `value` as the first parameter.
4941
4936
  * @returns The provided `value`.
4942
4937
  */
4943
4938
  adopt(value, onDispose) {
@@ -4949,7 +4944,8 @@
4949
4944
  return value;
4950
4945
  }
4951
4946
  /**
4952
- * Adds a callback to be invoked when the stack is disposed.
4947
+ * Add a disposal callback to the top of the stack to be invoked when stack is disposed.
4948
+ * @param onDispose - A callback to invoke when this object is disposed.
4953
4949
  */
4954
4950
  defer(onDispose) {
4955
4951
  this.#stack.push({
@@ -4961,6 +4957,7 @@
4961
4957
  /**
4962
4958
  * Move all resources out of this stack and into a new `DisposableStack`, and
4963
4959
  * marks this stack as disposed.
4960
+ * @returns The new `DisposableStack`.
4964
4961
  *
4965
4962
  * @example
4966
4963
  *
@@ -4992,56 +4989,91 @@
4992
4989
  */
4993
4990
  move() {
4994
4991
  if (this.#disposed) {
4995
- throw new ReferenceError("a disposed stack can not use anything new");
4992
+ throw new ReferenceError("A disposed stack can not use anything new");
4996
4993
  }
4997
4994
  const stack = new _DisposableStack();
4998
4995
  stack.#stack = this.#stack;
4996
+ this.#stack = [];
4999
4997
  this.#disposed = true;
5000
4998
  return stack;
5001
4999
  }
5002
- [disposeSymbol] = this.dispose;
5000
+ /**
5001
+ * Disposes each resource in the stack in last-in-first-out (LIFO) manner.
5002
+ */
5003
+ [disposeSymbol]() {
5004
+ if (this.#disposed) {
5005
+ return;
5006
+ }
5007
+ this.#disposed = true;
5008
+ const errors = [];
5009
+ for (const resource of this.#stack.reverse()) {
5010
+ try {
5011
+ resource[disposeSymbol]();
5012
+ } catch (e) {
5013
+ errors.push(e);
5014
+ }
5015
+ }
5016
+ if (errors.length === 1) {
5017
+ throw errors[0];
5018
+ } else if (errors.length > 1) {
5019
+ let suppressed = null;
5020
+ for (const error of errors.reverse()) {
5021
+ if (suppressed === null) {
5022
+ suppressed = error;
5023
+ } else {
5024
+ suppressed = new SuppressedError2(error, suppressed);
5025
+ }
5026
+ }
5027
+ throw suppressed;
5028
+ }
5029
+ }
5003
5030
  [Symbol.toStringTag] = "DisposableStack";
5004
5031
  };
5005
5032
  var AsyncDisposableStack = class _AsyncDisposableStack {
5006
5033
  #disposed = false;
5007
5034
  #stack = [];
5008
5035
  /**
5009
- * Returns a value indicating whether this stack has been disposed.
5036
+ * Returns a value indicating whether the stack has been disposed.
5010
5037
  */
5011
5038
  get disposed() {
5012
5039
  return this.#disposed;
5013
5040
  }
5014
5041
  /**
5015
- * Disposes each resource in the stack in the reverse order that they were added.
5042
+ * Alias for `[Symbol.asyncDispose]()`.
5016
5043
  */
5017
5044
  async dispose() {
5018
- if (this.#disposed) {
5019
- return;
5020
- }
5021
- this.#disposed = true;
5022
- for (const resource of this.#stack.reverse()) {
5023
- await resource[asyncDisposeSymbol]();
5024
- }
5045
+ await this[asyncDisposeSymbol]();
5025
5046
  }
5026
5047
  /**
5027
- * Adds a disposable resource to the stack, returning the resource.
5048
+ * Adds a AsyncDisposable resource to the top of stack, returning the resource.
5049
+ * Has no effect if provided `null` or `undefined`.
5028
5050
  *
5029
- * @param value - The resource to add. `null` and `undefined` will not be added,
5030
- * but will be returned.
5051
+ * @param value - A `AsyncDisposable` object, `null`, or `undefined`.
5052
+ * `null` and `undefined` will not be added, but will be returned.
5031
5053
  * @returns The provided `value`.
5032
5054
  */
5033
5055
  use(value) {
5034
5056
  if (value) {
5035
- this.#stack.push(value);
5057
+ const asyncDispose = value[asyncDisposeSymbol];
5058
+ const dispose = value[disposeSymbol];
5059
+ if (typeof asyncDispose === "function") {
5060
+ this.#stack.push(value);
5061
+ } else if (typeof dispose === "function") {
5062
+ this.#stack.push({
5063
+ [asyncDisposeSymbol]: async () => {
5064
+ value[disposeSymbol]();
5065
+ }
5066
+ });
5067
+ }
5036
5068
  }
5037
5069
  return value;
5038
5070
  }
5039
5071
  /**
5040
- * Adds a value and associated disposal callback as a resource to the stack.
5072
+ * Adds a non-disposable resource and a disposal callback to the top of the stack.
5041
5073
  *
5042
- * @param value - The value to add.
5043
- * @param onDispose - The callback to use in place of a `[disposeSymbol]()`
5044
- * method. Will be invoked with `value` as the first parameter.
5074
+ * @param value - A resource to be disposed.
5075
+ * @param onDispose - A callback invoked to dispose the provided value.
5076
+ * Will be invoked with `value` as the first parameter.
5045
5077
  * @returns The provided `value`.
5046
5078
  */
5047
5079
  adopt(value, onDispose) {
@@ -5053,7 +5085,8 @@
5053
5085
  return value;
5054
5086
  }
5055
5087
  /**
5056
- * Adds a callback to be invoked when the stack is disposed.
5088
+ * Add a disposal callback to the top of the stack to be invoked when stack is disposed.
5089
+ * @param onDispose - A callback to invoke when this object is disposed.
5057
5090
  */
5058
5091
  defer(onDispose) {
5059
5092
  this.#stack.push({
@@ -5065,6 +5098,7 @@
5065
5098
  /**
5066
5099
  * Move all resources out of this stack and into a new `DisposableStack`, and
5067
5100
  * marks this stack as disposed.
5101
+ * @returns The new `AsyncDisposableStack`.
5068
5102
  *
5069
5103
  * @example
5070
5104
  *
@@ -5096,16 +5130,69 @@
5096
5130
  */
5097
5131
  move() {
5098
5132
  if (this.#disposed) {
5099
- throw new ReferenceError("a disposed stack can not use anything new");
5133
+ throw new ReferenceError("A disposed stack can not use anything new");
5100
5134
  }
5101
5135
  const stack = new _AsyncDisposableStack();
5102
5136
  stack.#stack = this.#stack;
5137
+ this.#stack = [];
5103
5138
  this.#disposed = true;
5104
5139
  return stack;
5105
5140
  }
5106
- [asyncDisposeSymbol] = this.dispose;
5141
+ /**
5142
+ * Disposes each resource in the stack in last-in-first-out (LIFO) manner.
5143
+ */
5144
+ async [asyncDisposeSymbol]() {
5145
+ if (this.#disposed) {
5146
+ return;
5147
+ }
5148
+ this.#disposed = true;
5149
+ const errors = [];
5150
+ for (const resource of this.#stack.reverse()) {
5151
+ try {
5152
+ await resource[asyncDisposeSymbol]();
5153
+ } catch (e) {
5154
+ errors.push(e);
5155
+ }
5156
+ }
5157
+ if (errors.length === 1) {
5158
+ throw errors[0];
5159
+ } else if (errors.length > 1) {
5160
+ let suppressed = null;
5161
+ for (const error of errors.reverse()) {
5162
+ if (suppressed === null) {
5163
+ suppressed = error;
5164
+ } else {
5165
+ suppressed = new SuppressedError2(error, suppressed);
5166
+ }
5167
+ }
5168
+ throw suppressed;
5169
+ }
5170
+ }
5107
5171
  [Symbol.toStringTag] = "AsyncDisposableStack";
5108
5172
  };
5173
+ var SuppressedError2 = class extends Error {
5174
+ #error;
5175
+ #suppressed;
5176
+ constructor(error, suppressed, message = "An error was suppressed during disposal") {
5177
+ super(message);
5178
+ this.name = "SuppressedError";
5179
+ this.#error = error;
5180
+ this.#suppressed = suppressed;
5181
+ }
5182
+ /**
5183
+ * The primary error that occurred during disposal.
5184
+ */
5185
+ get error() {
5186
+ return this.#error;
5187
+ }
5188
+ /**
5189
+ * The suppressed error i.e. the error that was suppressed
5190
+ * because it occurred later in the flow after the original error.
5191
+ */
5192
+ get suppressed() {
5193
+ return this.#suppressed;
5194
+ }
5195
+ };
5109
5196
 
5110
5197
  // node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js
5111
5198
  var EventEmitter = class {
@@ -5679,10 +5766,10 @@
5679
5766
  }
5680
5767
  return value;
5681
5768
  };
5682
- var __disposeResources = /* @__PURE__ */ function(SuppressedError2) {
5769
+ var __disposeResources = /* @__PURE__ */ function(SuppressedError3) {
5683
5770
  return function(env) {
5684
5771
  function fail(e) {
5685
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
5772
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
5686
5773
  env.hasError = true;
5687
5774
  }
5688
5775
  var r, s = 0;
@@ -5840,10 +5927,10 @@
5840
5927
  }
5841
5928
  return value;
5842
5929
  };
5843
- var __disposeResources2 = /* @__PURE__ */ function(SuppressedError2) {
5930
+ var __disposeResources2 = /* @__PURE__ */ function(SuppressedError3) {
5844
5931
  return function(env) {
5845
5932
  function fail(e) {
5846
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
5933
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
5847
5934
  env.hasError = true;
5848
5935
  }
5849
5936
  var r, s = 0;
@@ -6549,10 +6636,10 @@
6549
6636
  }
6550
6637
  return value;
6551
6638
  };
6552
- var __disposeResources3 = /* @__PURE__ */ function(SuppressedError2) {
6639
+ var __disposeResources3 = /* @__PURE__ */ function(SuppressedError3) {
6553
6640
  return function(env) {
6554
6641
  function fail(e) {
6555
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
6642
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
6556
6643
  env.hasError = true;
6557
6644
  }
6558
6645
  var r, s = 0;
@@ -7987,9 +8074,9 @@
7987
8074
  /**
7988
8075
  * @internal
7989
8076
  */
7990
- constructor(element, event) {
8077
+ constructor(element, multiple) {
7991
8078
  this.#element = element;
7992
- this.#multiple = event.mode !== "selectSingle";
8079
+ this.#multiple = multiple;
7993
8080
  }
7994
8081
  /**
7995
8082
  * Whether file chooser allow for
@@ -8129,10 +8216,10 @@
8129
8216
  }
8130
8217
  return value;
8131
8218
  };
8132
- var __disposeResources4 = /* @__PURE__ */ function(SuppressedError2) {
8219
+ var __disposeResources4 = /* @__PURE__ */ function(SuppressedError3) {
8133
8220
  return function(env) {
8134
8221
  function fail(e) {
8135
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
8222
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
8136
8223
  env.hasError = true;
8137
8224
  }
8138
8225
  var r, s = 0;
@@ -8299,10 +8386,10 @@
8299
8386
  }
8300
8387
  return value;
8301
8388
  };
8302
- var __disposeResources5 = /* @__PURE__ */ function(SuppressedError2) {
8389
+ var __disposeResources5 = /* @__PURE__ */ function(SuppressedError3) {
8303
8390
  return function(env) {
8304
8391
  function fail(e) {
8305
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
8392
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
8306
8393
  env.hasError = true;
8307
8394
  }
8308
8395
  var r, s = 0;
@@ -9787,10 +9874,10 @@
9787
9874
  }
9788
9875
  return value;
9789
9876
  };
9790
- var __disposeResources6 = /* @__PURE__ */ function(SuppressedError2) {
9877
+ var __disposeResources6 = /* @__PURE__ */ function(SuppressedError3) {
9791
9878
  return function(env) {
9792
9879
  function fail(e) {
9793
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
9880
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
9794
9881
  env.hasError = true;
9795
9882
  }
9796
9883
  var r, s = 0;
@@ -9926,10 +10013,10 @@
9926
10013
  }
9927
10014
  return value;
9928
10015
  };
9929
- var __disposeResources7 = /* @__PURE__ */ function(SuppressedError2) {
10016
+ var __disposeResources7 = /* @__PURE__ */ function(SuppressedError3) {
9930
10017
  return function(env) {
9931
10018
  function fail(e) {
9932
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
10019
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
9933
10020
  env.hasError = true;
9934
10021
  }
9935
10022
  var r, s = 0;
@@ -10753,10 +10840,10 @@
10753
10840
  }
10754
10841
  return value;
10755
10842
  };
10756
- var __disposeResources8 = /* @__PURE__ */ function(SuppressedError2) {
10843
+ var __disposeResources8 = /* @__PURE__ */ function(SuppressedError3) {
10757
10844
  return function(env) {
10758
10845
  function fail(e) {
10759
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
10846
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
10760
10847
  env.hasError = true;
10761
10848
  }
10762
10849
  var r, s = 0;
@@ -11779,10 +11866,10 @@
11779
11866
  }
11780
11867
  return value;
11781
11868
  };
11782
- var __disposeResources9 = /* @__PURE__ */ function(SuppressedError2) {
11869
+ var __disposeResources9 = /* @__PURE__ */ function(SuppressedError3) {
11783
11870
  return function(env) {
11784
11871
  function fail(e) {
11785
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
11872
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
11786
11873
  env.hasError = true;
11787
11874
  }
11788
11875
  var r, s = 0;
@@ -13415,10 +13502,10 @@
13415
13502
  }
13416
13503
  return value;
13417
13504
  };
13418
- var __disposeResources10 = /* @__PURE__ */ function(SuppressedError2) {
13505
+ var __disposeResources10 = /* @__PURE__ */ function(SuppressedError3) {
13419
13506
  return function(env) {
13420
13507
  function fail(e) {
13421
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
13508
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
13422
13509
  env.hasError = true;
13423
13510
  }
13424
13511
  var r, s = 0;
@@ -13836,10 +13923,10 @@ ${sourceUrlComment}
13836
13923
  }
13837
13924
  return value;
13838
13925
  };
13839
- var __disposeResources11 = /* @__PURE__ */ function(SuppressedError2) {
13926
+ var __disposeResources11 = /* @__PURE__ */ function(SuppressedError3) {
13840
13927
  return function(env) {
13841
13928
  function fail(e) {
13842
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
13929
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
13843
13930
  env.hasError = true;
13844
13931
  }
13845
13932
  var r, s = 0;
@@ -16493,7 +16580,7 @@ ${sourceUrlComment}
16493
16580
  if (!request) {
16494
16581
  return;
16495
16582
  }
16496
- this.#maybeReassignOOPIFRequestClient(client, request);
16583
+ this.#adoptCdpSessionIfNeeded(client, request);
16497
16584
  if (request.response()) {
16498
16585
  request.response()?._resolveBody();
16499
16586
  }
@@ -16513,7 +16600,7 @@ ${sourceUrlComment}
16513
16600
  if (!request) {
16514
16601
  return;
16515
16602
  }
16516
- this.#maybeReassignOOPIFRequestClient(client, request);
16603
+ this.#adoptCdpSessionIfNeeded(client, request);
16517
16604
  request._failureText = event.errorText;
16518
16605
  const response = request.response();
16519
16606
  if (response) {
@@ -16522,8 +16609,8 @@ ${sourceUrlComment}
16522
16609
  this.#forgetRequest(request, true);
16523
16610
  this.emit(NetworkManagerEvent.RequestFailed, request);
16524
16611
  }
16525
- #maybeReassignOOPIFRequestClient(client, request) {
16526
- if (client !== request.client && request.isNavigationRequest()) {
16612
+ #adoptCdpSessionIfNeeded(client, request) {
16613
+ if (client !== request.client) {
16527
16614
  request.client = client;
16528
16615
  }
16529
16616
  }
@@ -18075,7 +18162,7 @@ ${sourceUrlComment}
18075
18162
  #client;
18076
18163
  #id;
18077
18164
  #targetType;
18078
- constructor(client, url, targetId, targetType, consoleAPICalled, exceptionThrown) {
18165
+ constructor(client, url, targetId, targetType, consoleAPICalled, exceptionThrown, networkManager) {
18079
18166
  super(url);
18080
18167
  this.#id = targetId;
18081
18168
  this.#client = client;
@@ -18097,6 +18184,7 @@ ${sourceUrlComment}
18097
18184
  this.#client.once(CDPSessionEvent.Disconnected, () => {
18098
18185
  this.#world.dispose();
18099
18186
  });
18187
+ networkManager?.addClient(this.#client).catch(debugError);
18100
18188
  this.#client.send("Runtime.enable").catch(debugError);
18101
18189
  }
18102
18190
  mainRealm() {
@@ -18153,10 +18241,10 @@ ${sourceUrlComment}
18153
18241
  }
18154
18242
  return value;
18155
18243
  };
18156
- var __disposeResources12 = /* @__PURE__ */ function(SuppressedError2) {
18244
+ var __disposeResources12 = /* @__PURE__ */ function(SuppressedError3) {
18157
18245
  return function(env) {
18158
18246
  function fail(e) {
18159
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
18247
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
18160
18248
  env.hasError = true;
18161
18249
  }
18162
18250
  var r, s = 0;
@@ -18366,7 +18454,7 @@ ${sourceUrlComment}
18366
18454
  assert(session instanceof CdpCDPSession);
18367
18455
  this.#frameManager.onAttachedToTarget(session.target());
18368
18456
  if (session.target()._getTargetInfo().type === "worker") {
18369
- const worker = new CdpWebWorker(session, session.target().url(), session.target()._targetId, session.target().type(), this.#addConsoleMessage.bind(this), this.#handleException.bind(this));
18457
+ const worker = new CdpWebWorker(session, session.target().url(), session.target()._targetId, session.target().type(), this.#addConsoleMessage.bind(this), this.#handleException.bind(this), this.#frameManager.networkManager);
18370
18458
  this.#workers.set(session.id(), worker);
18371
18459
  this.emit("workercreated", worker);
18372
18460
  }
@@ -18396,7 +18484,7 @@ ${sourceUrlComment}
18396
18484
  const frame = this.#frameManager.frame(event.frameId);
18397
18485
  assert(frame, "This should never happen.");
18398
18486
  const handle = __addDisposableResource12(env_1, await frame.worlds[MAIN_WORLD].adoptBackendNode(event.backendNodeId), false);
18399
- const fileChooser = new FileChooser(handle.move(), event);
18487
+ const fileChooser = new FileChooser(handle.move(), event.mode !== "selectSingle");
18400
18488
  for (const promise of this.#fileChooserDeferreds) {
18401
18489
  promise.resolve(fileChooser);
18402
18490
  }
@@ -19014,10 +19102,10 @@ ${sourceUrlComment}
19014
19102
  }
19015
19103
  return value;
19016
19104
  };
19017
- var __disposeResources13 = /* @__PURE__ */ function(SuppressedError2) {
19105
+ var __disposeResources13 = /* @__PURE__ */ function(SuppressedError3) {
19018
19106
  return function(env) {
19019
19107
  function fail(e) {
19020
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
19108
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
19021
19109
  env.hasError = true;
19022
19110
  }
19023
19111
  var r, s = 0;
@@ -19361,8 +19449,9 @@ ${sourceUrlComment}
19361
19449
  () => {
19362
19450
  },
19363
19451
  () => {
19364
- }
19365
- /* exceptionThrown */
19452
+ },
19453
+ void 0
19454
+ /* networkManager */
19366
19455
  );
19367
19456
  });
19368
19457
  }
@@ -19942,13 +20031,14 @@ ${sourceUrlComment}
19942
20031
  (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
19943
20032
 
19944
20033
  puppeteer-core/lib/esm/puppeteer/environment.js:
19945
- (**
19946
- * @license
19947
- * Copyright 2020 Google Inc.
19948
- * SPDX-License-Identifier: Apache-2.0
19949
- *)
19950
-
19951
20034
  puppeteer-core/lib/esm/puppeteer/util/assert.js:
20035
+ puppeteer-core/lib/esm/puppeteer/common/Debug.js:
20036
+ puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js:
20037
+ puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js:
20038
+ puppeteer-core/lib/esm/puppeteer/common/FileChooser.js:
20039
+ puppeteer-core/lib/esm/puppeteer/cdp/AriaQueryHandler.js:
20040
+ puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js:
20041
+ puppeteer-core/lib/esm/puppeteer/cdp/BrowserConnector.js:
19952
20042
  (**
19953
20043
  * @license
19954
20044
  * Copyright 2020 Google Inc.
@@ -19956,522 +20046,107 @@ puppeteer-core/lib/esm/puppeteer/util/assert.js:
19956
20046
  *)
19957
20047
 
19958
20048
  puppeteer-core/lib/esm/puppeteer/util/encoding.js:
20049
+ puppeteer-core/lib/esm/puppeteer/util/Deferred.js:
20050
+ puppeteer-core/lib/esm/puppeteer/util/Mutex.js:
20051
+ puppeteer-core/lib/esm/puppeteer/cdp/Binding.js:
20052
+ puppeteer-core/lib/esm/puppeteer/util/incremental-id-generator.js:
20053
+ puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js:
20054
+ puppeteer-core/lib/esm/puppeteer/cdp/CdpPreloadScript.js:
20055
+ puppeteer-core/lib/esm/puppeteer/cdp/BrowserContext.js:
19959
20056
  (**
19960
20057
  * @license
19961
20058
  * Copyright 2024 Google Inc.
19962
20059
  * SPDX-License-Identifier: Apache-2.0
19963
20060
  *)
19964
20061
 
19965
- puppeteer-core/lib/esm/puppeteer/common/Debug.js:
19966
- (**
19967
- * @license
19968
- * Copyright 2020 Google Inc.
19969
- * SPDX-License-Identifier: Apache-2.0
19970
- *)
19971
-
19972
20062
  puppeteer-core/lib/esm/puppeteer/common/Errors.js:
20063
+ puppeteer-core/lib/esm/puppeteer/cdp/Accessibility.js:
20064
+ puppeteer-core/lib/esm/puppeteer/api/WebWorker.js:
19973
20065
  (**
19974
20066
  * @license
19975
20067
  * Copyright 2018 Google Inc.
19976
20068
  * SPDX-License-Identifier: Apache-2.0
19977
20069
  *)
19978
20070
 
19979
- puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js:
19980
- (**
19981
- * @license
19982
- * Copyright 2020 Google Inc.
19983
- * SPDX-License-Identifier: Apache-2.0
19984
- *)
19985
-
19986
20071
  puppeteer-core/lib/esm/puppeteer/common/util.js:
19987
- (**
19988
- * @license
19989
- * Copyright 2017 Google Inc.
19990
- * SPDX-License-Identifier: Apache-2.0
19991
- *)
19992
-
19993
- puppeteer-core/lib/esm/puppeteer/util/disposable.js:
19994
- (**
19995
- * @license
19996
- * Copyright 2023 Google Inc.
19997
- * SPDX-License-Identifier: Apache-2.0
19998
- *)
19999
-
20000
- puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js:
20001
- (**
20002
- * @license
20003
- * Copyright 2022 Google Inc.
20004
- * SPDX-License-Identifier: Apache-2.0
20005
- *)
20006
-
20007
- puppeteer-core/lib/esm/puppeteer/util/Deferred.js:
20008
- (**
20009
- * @license
20010
- * Copyright 2024 Google Inc.
20011
- * SPDX-License-Identifier: Apache-2.0
20012
- *)
20013
-
20014
- puppeteer-core/lib/esm/puppeteer/util/Mutex.js:
20015
- (**
20016
- * @license
20017
- * Copyright 2024 Google Inc.
20018
- * SPDX-License-Identifier: Apache-2.0
20019
- *)
20020
-
20021
20072
  puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js:
20073
+ puppeteer-core/lib/esm/puppeteer/api/Page.js:
20074
+ puppeteer-core/lib/esm/puppeteer/cdp/CdpSession.js:
20075
+ puppeteer-core/lib/esm/puppeteer/cdp/Connection.js:
20076
+ puppeteer-core/lib/esm/puppeteer/cdp/Coverage.js:
20077
+ puppeteer-core/lib/esm/puppeteer/api/Dialog.js:
20078
+ puppeteer-core/lib/esm/puppeteer/cdp/Dialog.js:
20079
+ puppeteer-core/lib/esm/puppeteer/cdp/utils.js:
20080
+ puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js:
20081
+ puppeteer-core/lib/esm/puppeteer/cdp/Frame.js:
20082
+ puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js:
20083
+ puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js:
20084
+ puppeteer-core/lib/esm/puppeteer/api/Input.js:
20085
+ puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js:
20086
+ puppeteer-core/lib/esm/puppeteer/cdp/Input.js:
20087
+ puppeteer-core/lib/esm/puppeteer/cdp/Page.js:
20088
+ puppeteer-core/lib/esm/puppeteer/cdp/Browser.js:
20022
20089
  (**
20023
20090
  * @license
20024
20091
  * Copyright 2017 Google Inc.
20025
20092
  * SPDX-License-Identifier: Apache-2.0
20026
20093
  *)
20027
20094
 
20028
- puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js:
20029
- (**
20030
- * @license
20031
- * Copyright 2019 Google Inc.
20032
- * SPDX-License-Identifier: Apache-2.0
20033
- *)
20034
-
20095
+ puppeteer-core/lib/esm/puppeteer/util/disposable.js:
20035
20096
  puppeteer-core/lib/esm/puppeteer/util/decorators.js:
20097
+ puppeteer-core/lib/esm/puppeteer/api/JSHandle.js:
20098
+ puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:
20099
+ puppeteer-core/lib/esm/puppeteer/api/ElementHandleSymbol.js:
20100
+ puppeteer-core/lib/esm/puppeteer/util/Function.js:
20101
+ puppeteer-core/lib/esm/puppeteer/common/HandleIterator.js:
20102
+ puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js:
20103
+ puppeteer-core/lib/esm/puppeteer/common/CSSQueryHandler.js:
20104
+ puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.js:
20105
+ puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.js:
20106
+ puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.js:
20107
+ puppeteer-core/lib/esm/puppeteer/common/PSelectorParser.js:
20108
+ puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.js:
20109
+ puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.js:
20110
+ puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js:
20111
+ puppeteer-core/lib/esm/puppeteer/api/Frame.js:
20112
+ puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js:
20113
+ puppeteer-core/lib/esm/puppeteer/cdp/FrameManagerEvents.js:
20114
+ puppeteer-core/lib/esm/puppeteer/api/Realm.js:
20115
+ puppeteer-core/lib/esm/puppeteer/api/HTTPResponse.js:
20116
+ puppeteer-core/lib/esm/puppeteer/api/Target.js:
20036
20117
  (**
20037
20118
  * @license
20038
20119
  * Copyright 2023 Google Inc.
20039
20120
  * SPDX-License-Identifier: Apache-2.0
20040
20121
  *)
20041
20122
 
20042
- puppeteer-core/lib/esm/puppeteer/api/Page.js:
20043
- (**
20044
- * @license
20045
- * Copyright 2017 Google Inc.
20046
- * SPDX-License-Identifier: Apache-2.0
20047
- *)
20048
-
20049
- puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js:
20050
- (**
20051
- * @license
20052
- * Copyright 2020 Google Inc.
20053
- * SPDX-License-Identifier: Apache-2.0
20054
- *)
20055
-
20056
- puppeteer-core/lib/esm/puppeteer/common/FileChooser.js:
20057
- (**
20058
- * @license
20059
- * Copyright 2020 Google Inc.
20060
- * SPDX-License-Identifier: Apache-2.0
20061
- *)
20062
-
20123
+ puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js:
20063
20124
  puppeteer-core/lib/esm/puppeteer/common/NetworkManagerEvents.js:
20064
- (**
20065
- * @license
20066
- * Copyright 2022 Google Inc.
20067
- * SPDX-License-Identifier: Apache-2.0
20068
- *)
20069
-
20070
20125
  puppeteer-core/lib/esm/puppeteer/util/ErrorLike.js:
20126
+ puppeteer-core/lib/esm/puppeteer/common/LazyArg.js:
20127
+ puppeteer-core/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js:
20128
+ puppeteer-core/lib/esm/puppeteer/common/WaitTask.js:
20129
+ puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorlds.js:
20130
+ puppeteer-core/lib/esm/puppeteer/cdp/FrameTree.js:
20131
+ puppeteer-core/lib/esm/puppeteer/cdp/NetworkEventManager.js:
20132
+ puppeteer-core/lib/esm/puppeteer/cdp/TargetManager.js:
20071
20133
  (**
20072
20134
  * @license
20073
20135
  * Copyright 2022 Google Inc.
20074
20136
  * SPDX-License-Identifier: Apache-2.0
20075
20137
  *)
20076
20138
 
20077
- puppeteer-core/lib/esm/puppeteer/api/JSHandle.js:
20078
- (**
20079
- * @license
20080
- * Copyright 2023 Google Inc.
20081
- * SPDX-License-Identifier: Apache-2.0
20082
- *)
20083
-
20084
- puppeteer-core/lib/esm/puppeteer/cdp/Binding.js:
20085
- (**
20086
- * @license
20087
- * Copyright 2024 Google Inc.
20088
- * SPDX-License-Identifier: Apache-2.0
20089
- *)
20090
-
20091
- puppeteer-core/lib/esm/puppeteer/util/incremental-id-generator.js:
20092
- (**
20093
- * @license
20094
- * Copyright 2024 Google Inc.
20095
- * SPDX-License-Identifier: Apache-2.0
20096
- *)
20097
-
20098
- puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:
20099
- (**
20100
- * @license
20101
- * Copyright 2023 Google Inc.
20102
- * SPDX-License-Identifier: Apache-2.0
20103
- *)
20104
-
20105
- puppeteer-core/lib/esm/puppeteer/cdp/CdpSession.js:
20106
- (**
20107
- * @license
20108
- * Copyright 2017 Google Inc.
20109
- * SPDX-License-Identifier: Apache-2.0
20110
- *)
20111
-
20112
- puppeteer-core/lib/esm/puppeteer/cdp/Connection.js:
20113
- (**
20114
- * @license
20115
- * Copyright 2017 Google Inc.
20116
- * SPDX-License-Identifier: Apache-2.0
20117
- *)
20118
-
20119
- puppeteer-core/lib/esm/puppeteer/cdp/Coverage.js:
20120
- (**
20121
- * @license
20122
- * Copyright 2017 Google Inc.
20123
- * SPDX-License-Identifier: Apache-2.0
20124
- *)
20125
-
20126
- puppeteer-core/lib/esm/puppeteer/api/Dialog.js:
20127
- (**
20128
- * @license
20129
- * Copyright 2017 Google Inc.
20130
- * SPDX-License-Identifier: Apache-2.0
20131
- *)
20132
-
20133
- puppeteer-core/lib/esm/puppeteer/cdp/Dialog.js:
20134
- (**
20135
- * @license
20136
- * Copyright 2017 Google Inc.
20137
- * SPDX-License-Identifier: Apache-2.0
20138
- *)
20139
-
20140
- puppeteer-core/lib/esm/puppeteer/api/ElementHandleSymbol.js:
20141
- (**
20142
- * @license
20143
- * Copyright 2023 Google Inc.
20144
- * SPDX-License-Identifier: Apache-2.0
20145
- *)
20146
-
20147
- puppeteer-core/lib/esm/puppeteer/util/Function.js:
20148
- (**
20149
- * @license
20150
- * Copyright 2023 Google Inc.
20151
- * SPDX-License-Identifier: Apache-2.0
20152
- *)
20153
-
20154
- puppeteer-core/lib/esm/puppeteer/common/HandleIterator.js:
20155
- (**
20156
- * @license
20157
- * Copyright 2023 Google Inc.
20158
- * SPDX-License-Identifier: Apache-2.0
20159
- *)
20160
-
20161
- puppeteer-core/lib/esm/puppeteer/common/LazyArg.js:
20162
- (**
20163
- * @license
20164
- * Copyright 2022 Google Inc.
20165
- * SPDX-License-Identifier: Apache-2.0
20166
- *)
20167
-
20168
- puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js:
20169
- (**
20170
- * @license
20171
- * Copyright 2023 Google Inc.
20172
- * SPDX-License-Identifier: Apache-2.0
20173
- *)
20174
-
20175
- puppeteer-core/lib/esm/puppeteer/cdp/AriaQueryHandler.js:
20176
- (**
20177
- * @license
20178
- * Copyright 2020 Google Inc.
20179
- * SPDX-License-Identifier: Apache-2.0
20180
- *)
20181
-
20182
- puppeteer-core/lib/esm/puppeteer/common/CSSQueryHandler.js:
20183
- (**
20184
- * @license
20185
- * Copyright 2023 Google Inc.
20186
- * SPDX-License-Identifier: Apache-2.0
20187
- *)
20188
-
20189
- puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js:
20190
- (**
20191
- * @license
20192
- * Copyright 2024 Google Inc.
20193
- * SPDX-License-Identifier: Apache-2.0
20194
- *)
20195
-
20196
- puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.js:
20197
- (**
20198
- * @license
20199
- * Copyright 2023 Google Inc.
20200
- * SPDX-License-Identifier: Apache-2.0
20201
- *)
20202
-
20203
- puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.js:
20204
- (**
20205
- * @license
20206
- * Copyright 2023 Google Inc.
20207
- * SPDX-License-Identifier: Apache-2.0
20208
- *)
20209
-
20210
- puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.js:
20211
- (**
20212
- * @license
20213
- * Copyright 2023 Google Inc.
20214
- * SPDX-License-Identifier: Apache-2.0
20215
- *)
20216
-
20217
- puppeteer-core/lib/esm/puppeteer/common/PSelectorParser.js:
20218
- (**
20219
- * @license
20220
- * Copyright 2023 Google Inc.
20221
- * SPDX-License-Identifier: Apache-2.0
20222
- *)
20223
-
20224
- puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.js:
20225
- (**
20226
- * @license
20227
- * Copyright 2023 Google Inc.
20228
- * SPDX-License-Identifier: Apache-2.0
20229
- *)
20230
-
20231
- puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.js:
20232
- (**
20233
- * @license
20234
- * Copyright 2023 Google Inc.
20235
- * SPDX-License-Identifier: Apache-2.0
20236
- *)
20237
-
20238
- puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js:
20239
- (**
20240
- * @license
20241
- * Copyright 2023 Google Inc.
20242
- * SPDX-License-Identifier: Apache-2.0
20243
- *)
20244
-
20245
- puppeteer-core/lib/esm/puppeteer/api/Frame.js:
20246
- (**
20247
- * @license
20248
- * Copyright 2023 Google Inc.
20249
- * SPDX-License-Identifier: Apache-2.0
20250
- *)
20251
-
20252
- puppeteer-core/lib/esm/puppeteer/cdp/CdpPreloadScript.js:
20253
- (**
20254
- * @license
20255
- * Copyright 2024 Google Inc.
20256
- * SPDX-License-Identifier: Apache-2.0
20257
- *)
20258
-
20259
- puppeteer-core/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js:
20260
- (**
20261
- * @license
20262
- * Copyright 2022 Google Inc.
20263
- * SPDX-License-Identifier: Apache-2.0
20264
- *)
20265
-
20266
- puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js:
20267
- (**
20268
- * @license
20269
- * Copyright 2023 Google Inc.
20270
- * SPDX-License-Identifier: Apache-2.0
20271
- *)
20272
-
20273
- puppeteer-core/lib/esm/puppeteer/cdp/utils.js:
20274
- (**
20275
- * @license
20276
- * Copyright 2017 Google Inc.
20277
- * SPDX-License-Identifier: Apache-2.0
20278
- *)
20279
-
20280
- puppeteer-core/lib/esm/puppeteer/cdp/JSHandle.js:
20281
- (**
20282
- * @license
20283
- * Copyright 2019 Google Inc.
20284
- * SPDX-License-Identifier: Apache-2.0
20285
- *)
20286
-
20287
- puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js:
20139
+ puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js:
20140
+ puppeteer-core/lib/esm/puppeteer/cdp/JSHandle.js:
20141
+ puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js:
20142
+ puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js:
20143
+ puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js:
20144
+ puppeteer-core/lib/esm/puppeteer/cdp/Target.js:
20288
20145
  (**
20289
20146
  * @license
20290
20147
  * Copyright 2019 Google Inc.
20291
20148
  * SPDX-License-Identifier: Apache-2.0
20292
20149
  *)
20293
-
20294
- puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js:
20295
- (**
20296
- * @license
20297
- * Copyright 2017 Google Inc.
20298
- * SPDX-License-Identifier: Apache-2.0
20299
- *)
20300
-
20301
- puppeteer-core/lib/esm/puppeteer/cdp/Accessibility.js:
20302
- (**
20303
- * @license
20304
- * Copyright 2018 Google Inc.
20305
- * SPDX-License-Identifier: Apache-2.0
20306
- *)
20307
-
20308
- puppeteer-core/lib/esm/puppeteer/cdp/FrameManagerEvents.js:
20309
- (**
20310
- * @license
20311
- * Copyright 2023 Google Inc.
20312
- * SPDX-License-Identifier: Apache-2.0
20313
- *)
20314
-
20315
- puppeteer-core/lib/esm/puppeteer/common/WaitTask.js:
20316
- (**
20317
- * @license
20318
- * Copyright 2022 Google Inc.
20319
- * SPDX-License-Identifier: Apache-2.0
20320
- *)
20321
-
20322
- puppeteer-core/lib/esm/puppeteer/api/Realm.js:
20323
- (**
20324
- * @license
20325
- * Copyright 2023 Google Inc.
20326
- * SPDX-License-Identifier: Apache-2.0
20327
- *)
20328
-
20329
- puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js:
20330
- (**
20331
- * @license
20332
- * Copyright 2019 Google Inc.
20333
- * SPDX-License-Identifier: Apache-2.0
20334
- *)
20335
-
20336
- puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorlds.js:
20337
- (**
20338
- * @license
20339
- * Copyright 2022 Google Inc.
20340
- * SPDX-License-Identifier: Apache-2.0
20341
- *)
20342
-
20343
- puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js:
20344
- (**
20345
- * @license
20346
- * Copyright 2019 Google Inc.
20347
- * SPDX-License-Identifier: Apache-2.0
20348
- *)
20349
-
20350
- puppeteer-core/lib/esm/puppeteer/cdp/Frame.js:
20351
- (**
20352
- * @license
20353
- * Copyright 2017 Google Inc.
20354
- * SPDX-License-Identifier: Apache-2.0
20355
- *)
20356
-
20357
- puppeteer-core/lib/esm/puppeteer/cdp/FrameTree.js:
20358
- (**
20359
- * @license
20360
- * Copyright 2022 Google Inc.
20361
- * SPDX-License-Identifier: Apache-2.0
20362
- *)
20363
-
20364
- puppeteer-core/lib/esm/puppeteer/api/HTTPResponse.js:
20365
- (**
20366
- * @license
20367
- * Copyright 2023 Google Inc.
20368
- * SPDX-License-Identifier: Apache-2.0
20369
- *)
20370
-
20371
- puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js:
20372
- (**
20373
- * @license
20374
- * Copyright 2020 Google Inc.
20375
- * SPDX-License-Identifier: Apache-2.0
20376
- *)
20377
-
20378
- puppeteer-core/lib/esm/puppeteer/cdp/NetworkEventManager.js:
20379
- (**
20380
- * @license
20381
- * Copyright 2022 Google Inc.
20382
- * SPDX-License-Identifier: Apache-2.0
20383
- *)
20384
-
20385
- puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js:
20386
- (**
20387
- * @license
20388
- * Copyright 2017 Google Inc.
20389
- * SPDX-License-Identifier: Apache-2.0
20390
- *)
20391
-
20392
- puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js:
20393
- (**
20394
- * @license
20395
- * Copyright 2017 Google Inc.
20396
- * SPDX-License-Identifier: Apache-2.0
20397
- *)
20398
-
20399
- puppeteer-core/lib/esm/puppeteer/api/Input.js:
20400
- (**
20401
- * @license
20402
- * Copyright 2017 Google Inc.
20403
- * SPDX-License-Identifier: Apache-2.0
20404
- *)
20405
-
20406
- puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js:
20407
- (**
20408
- * @license
20409
- * Copyright 2017 Google Inc.
20410
- * SPDX-License-Identifier: Apache-2.0
20411
- *)
20412
-
20413
- puppeteer-core/lib/esm/puppeteer/cdp/Input.js:
20414
- (**
20415
- * @license
20416
- * Copyright 2017 Google Inc.
20417
- * SPDX-License-Identifier: Apache-2.0
20418
- *)
20419
-
20420
- puppeteer-core/lib/esm/puppeteer/api/Target.js:
20421
- (**
20422
- * @license
20423
- * Copyright 2023 Google Inc.
20424
- * SPDX-License-Identifier: Apache-2.0
20425
- *)
20426
-
20427
- puppeteer-core/lib/esm/puppeteer/api/WebWorker.js:
20428
- (**
20429
- * @license
20430
- * Copyright 2018 Google Inc.
20431
- * SPDX-License-Identifier: Apache-2.0
20432
- *)
20433
-
20434
- puppeteer-core/lib/esm/puppeteer/cdp/Page.js:
20435
- (**
20436
- * @license
20437
- * Copyright 2017 Google Inc.
20438
- * SPDX-License-Identifier: Apache-2.0
20439
- *)
20440
-
20441
- puppeteer-core/lib/esm/puppeteer/cdp/BrowserContext.js:
20442
- (**
20443
- * @license
20444
- * Copyright 2024 Google Inc.
20445
- * SPDX-License-Identifier: Apache-2.0
20446
- *)
20447
-
20448
- puppeteer-core/lib/esm/puppeteer/cdp/Target.js:
20449
- (**
20450
- * @license
20451
- * Copyright 2019 Google Inc.
20452
- * SPDX-License-Identifier: Apache-2.0
20453
- *)
20454
-
20455
- puppeteer-core/lib/esm/puppeteer/cdp/TargetManager.js:
20456
- (**
20457
- * @license
20458
- * Copyright 2022 Google Inc.
20459
- * SPDX-License-Identifier: Apache-2.0
20460
- *)
20461
-
20462
- puppeteer-core/lib/esm/puppeteer/cdp/Browser.js:
20463
- (**
20464
- * @license
20465
- * Copyright 2017 Google Inc.
20466
- * SPDX-License-Identifier: Apache-2.0
20467
- *)
20468
-
20469
- puppeteer-core/lib/esm/puppeteer/cdp/BrowserConnector.js:
20470
- (**
20471
- * @license
20472
- * Copyright 2020 Google Inc.
20473
- * SPDX-License-Identifier: Apache-2.0
20474
- *)
20475
20150
  */
20476
20151
 
20477
20152
  </script>