@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
@@ -4401,7 +4401,7 @@
4401
4401
  // node_modules/puppeteer-core/lib/esm/puppeteer/generated/version.js
4402
4402
  init_dirname();
4403
4403
  init_buffer2();
4404
- var packageVersion = "24.6.1";
4404
+ var packageVersion = "24.7.1";
4405
4405
 
4406
4406
  // node_modules/puppeteer-core/lib/esm/puppeteer/util/assert.js
4407
4407
  init_dirname();
@@ -4894,42 +4894,37 @@
4894
4894
  #disposed = false;
4895
4895
  #stack = [];
4896
4896
  /**
4897
- * Returns a value indicating whether this stack has been disposed.
4897
+ * Returns a value indicating whether the stack has been disposed.
4898
4898
  */
4899
4899
  get disposed() {
4900
4900
  return this.#disposed;
4901
4901
  }
4902
4902
  /**
4903
- * Disposes each resource in the stack in the reverse order that they were added.
4903
+ * Alias for `[Symbol.dispose]()`.
4904
4904
  */
4905
4905
  dispose() {
4906
- if (this.#disposed) {
4907
- return;
4908
- }
4909
- this.#disposed = true;
4910
- for (const resource of this.#stack.reverse()) {
4911
- resource[disposeSymbol]();
4912
- }
4906
+ this[disposeSymbol]();
4913
4907
  }
4914
4908
  /**
4915
- * Adds a disposable resource to the stack, returning the resource.
4909
+ * Adds a disposable resource to the top of stack, returning the resource.
4910
+ * Has no effect if provided `null` or `undefined`.
4916
4911
  *
4917
- * @param value - The resource to add. `null` and `undefined` will not be added,
4918
- * but will be returned.
4912
+ * @param value - A `Disposable` object, `null`, or `undefined`.
4913
+ * `null` and `undefined` will not be added, but will be returned.
4919
4914
  * @returns The provided `value`.
4920
4915
  */
4921
4916
  use(value) {
4922
- if (value) {
4917
+ if (value && typeof value[disposeSymbol] === "function") {
4923
4918
  this.#stack.push(value);
4924
4919
  }
4925
4920
  return value;
4926
4921
  }
4927
4922
  /**
4928
- * Adds a value and associated disposal callback as a resource to the stack.
4923
+ * Adds a non-disposable resource and a disposal callback to the top of the stack.
4929
4924
  *
4930
- * @param value - The value to add.
4931
- * @param onDispose - The callback to use in place of a `[disposeSymbol]()`
4932
- * method. Will be invoked with `value` as the first parameter.
4925
+ * @param value - A resource to be disposed.
4926
+ * @param onDispose - A callback invoked to dispose the provided value.
4927
+ * Will be invoked with `value` as the first parameter.
4933
4928
  * @returns The provided `value`.
4934
4929
  */
4935
4930
  adopt(value, onDispose) {
@@ -4941,7 +4936,8 @@
4941
4936
  return value;
4942
4937
  }
4943
4938
  /**
4944
- * Adds a callback to be invoked when the stack is disposed.
4939
+ * Add a disposal callback to the top of the stack to be invoked when stack is disposed.
4940
+ * @param onDispose - A callback to invoke when this object is disposed.
4945
4941
  */
4946
4942
  defer(onDispose) {
4947
4943
  this.#stack.push({
@@ -4953,6 +4949,7 @@
4953
4949
  /**
4954
4950
  * Move all resources out of this stack and into a new `DisposableStack`, and
4955
4951
  * marks this stack as disposed.
4952
+ * @returns The new `DisposableStack`.
4956
4953
  *
4957
4954
  * @example
4958
4955
  *
@@ -4984,56 +4981,91 @@
4984
4981
  */
4985
4982
  move() {
4986
4983
  if (this.#disposed) {
4987
- throw new ReferenceError("a disposed stack can not use anything new");
4984
+ throw new ReferenceError("A disposed stack can not use anything new");
4988
4985
  }
4989
4986
  const stack = new _DisposableStack();
4990
4987
  stack.#stack = this.#stack;
4988
+ this.#stack = [];
4991
4989
  this.#disposed = true;
4992
4990
  return stack;
4993
4991
  }
4994
- [disposeSymbol] = this.dispose;
4992
+ /**
4993
+ * Disposes each resource in the stack in last-in-first-out (LIFO) manner.
4994
+ */
4995
+ [disposeSymbol]() {
4996
+ if (this.#disposed) {
4997
+ return;
4998
+ }
4999
+ this.#disposed = true;
5000
+ const errors = [];
5001
+ for (const resource of this.#stack.reverse()) {
5002
+ try {
5003
+ resource[disposeSymbol]();
5004
+ } catch (e) {
5005
+ errors.push(e);
5006
+ }
5007
+ }
5008
+ if (errors.length === 1) {
5009
+ throw errors[0];
5010
+ } else if (errors.length > 1) {
5011
+ let suppressed = null;
5012
+ for (const error of errors.reverse()) {
5013
+ if (suppressed === null) {
5014
+ suppressed = error;
5015
+ } else {
5016
+ suppressed = new SuppressedError2(error, suppressed);
5017
+ }
5018
+ }
5019
+ throw suppressed;
5020
+ }
5021
+ }
4995
5022
  [Symbol.toStringTag] = "DisposableStack";
4996
5023
  };
4997
5024
  var AsyncDisposableStack = class _AsyncDisposableStack {
4998
5025
  #disposed = false;
4999
5026
  #stack = [];
5000
5027
  /**
5001
- * Returns a value indicating whether this stack has been disposed.
5028
+ * Returns a value indicating whether the stack has been disposed.
5002
5029
  */
5003
5030
  get disposed() {
5004
5031
  return this.#disposed;
5005
5032
  }
5006
5033
  /**
5007
- * Disposes each resource in the stack in the reverse order that they were added.
5034
+ * Alias for `[Symbol.asyncDispose]()`.
5008
5035
  */
5009
5036
  async dispose() {
5010
- if (this.#disposed) {
5011
- return;
5012
- }
5013
- this.#disposed = true;
5014
- for (const resource of this.#stack.reverse()) {
5015
- await resource[asyncDisposeSymbol]();
5016
- }
5037
+ await this[asyncDisposeSymbol]();
5017
5038
  }
5018
5039
  /**
5019
- * Adds a disposable resource to the stack, returning the resource.
5040
+ * Adds a AsyncDisposable resource to the top of stack, returning the resource.
5041
+ * Has no effect if provided `null` or `undefined`.
5020
5042
  *
5021
- * @param value - The resource to add. `null` and `undefined` will not be added,
5022
- * but will be returned.
5043
+ * @param value - A `AsyncDisposable` object, `null`, or `undefined`.
5044
+ * `null` and `undefined` will not be added, but will be returned.
5023
5045
  * @returns The provided `value`.
5024
5046
  */
5025
5047
  use(value) {
5026
5048
  if (value) {
5027
- this.#stack.push(value);
5049
+ const asyncDispose = value[asyncDisposeSymbol];
5050
+ const dispose = value[disposeSymbol];
5051
+ if (typeof asyncDispose === "function") {
5052
+ this.#stack.push(value);
5053
+ } else if (typeof dispose === "function") {
5054
+ this.#stack.push({
5055
+ [asyncDisposeSymbol]: async () => {
5056
+ value[disposeSymbol]();
5057
+ }
5058
+ });
5059
+ }
5028
5060
  }
5029
5061
  return value;
5030
5062
  }
5031
5063
  /**
5032
- * Adds a value and associated disposal callback as a resource to the stack.
5064
+ * Adds a non-disposable resource and a disposal callback to the top of the stack.
5033
5065
  *
5034
- * @param value - The value to add.
5035
- * @param onDispose - The callback to use in place of a `[disposeSymbol]()`
5036
- * method. Will be invoked with `value` as the first parameter.
5066
+ * @param value - A resource to be disposed.
5067
+ * @param onDispose - A callback invoked to dispose the provided value.
5068
+ * Will be invoked with `value` as the first parameter.
5037
5069
  * @returns The provided `value`.
5038
5070
  */
5039
5071
  adopt(value, onDispose) {
@@ -5045,7 +5077,8 @@
5045
5077
  return value;
5046
5078
  }
5047
5079
  /**
5048
- * Adds a callback to be invoked when the stack is disposed.
5080
+ * Add a disposal callback to the top of the stack to be invoked when stack is disposed.
5081
+ * @param onDispose - A callback to invoke when this object is disposed.
5049
5082
  */
5050
5083
  defer(onDispose) {
5051
5084
  this.#stack.push({
@@ -5057,6 +5090,7 @@
5057
5090
  /**
5058
5091
  * Move all resources out of this stack and into a new `DisposableStack`, and
5059
5092
  * marks this stack as disposed.
5093
+ * @returns The new `AsyncDisposableStack`.
5060
5094
  *
5061
5095
  * @example
5062
5096
  *
@@ -5088,16 +5122,69 @@
5088
5122
  */
5089
5123
  move() {
5090
5124
  if (this.#disposed) {
5091
- throw new ReferenceError("a disposed stack can not use anything new");
5125
+ throw new ReferenceError("A disposed stack can not use anything new");
5092
5126
  }
5093
5127
  const stack = new _AsyncDisposableStack();
5094
5128
  stack.#stack = this.#stack;
5129
+ this.#stack = [];
5095
5130
  this.#disposed = true;
5096
5131
  return stack;
5097
5132
  }
5098
- [asyncDisposeSymbol] = this.dispose;
5133
+ /**
5134
+ * Disposes each resource in the stack in last-in-first-out (LIFO) manner.
5135
+ */
5136
+ async [asyncDisposeSymbol]() {
5137
+ if (this.#disposed) {
5138
+ return;
5139
+ }
5140
+ this.#disposed = true;
5141
+ const errors = [];
5142
+ for (const resource of this.#stack.reverse()) {
5143
+ try {
5144
+ await resource[asyncDisposeSymbol]();
5145
+ } catch (e) {
5146
+ errors.push(e);
5147
+ }
5148
+ }
5149
+ if (errors.length === 1) {
5150
+ throw errors[0];
5151
+ } else if (errors.length > 1) {
5152
+ let suppressed = null;
5153
+ for (const error of errors.reverse()) {
5154
+ if (suppressed === null) {
5155
+ suppressed = error;
5156
+ } else {
5157
+ suppressed = new SuppressedError2(error, suppressed);
5158
+ }
5159
+ }
5160
+ throw suppressed;
5161
+ }
5162
+ }
5099
5163
  [Symbol.toStringTag] = "AsyncDisposableStack";
5100
5164
  };
5165
+ var SuppressedError2 = class extends Error {
5166
+ #error;
5167
+ #suppressed;
5168
+ constructor(error, suppressed, message = "An error was suppressed during disposal") {
5169
+ super(message);
5170
+ this.name = "SuppressedError";
5171
+ this.#error = error;
5172
+ this.#suppressed = suppressed;
5173
+ }
5174
+ /**
5175
+ * The primary error that occurred during disposal.
5176
+ */
5177
+ get error() {
5178
+ return this.#error;
5179
+ }
5180
+ /**
5181
+ * The suppressed error i.e. the error that was suppressed
5182
+ * because it occurred later in the flow after the original error.
5183
+ */
5184
+ get suppressed() {
5185
+ return this.#suppressed;
5186
+ }
5187
+ };
5101
5188
 
5102
5189
  // node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js
5103
5190
  var EventEmitter = class {
@@ -5671,10 +5758,10 @@
5671
5758
  }
5672
5759
  return value;
5673
5760
  };
5674
- var __disposeResources = /* @__PURE__ */ function(SuppressedError2) {
5761
+ var __disposeResources = /* @__PURE__ */ function(SuppressedError3) {
5675
5762
  return function(env) {
5676
5763
  function fail(e) {
5677
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
5764
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
5678
5765
  env.hasError = true;
5679
5766
  }
5680
5767
  var r, s = 0;
@@ -5832,10 +5919,10 @@
5832
5919
  }
5833
5920
  return value;
5834
5921
  };
5835
- var __disposeResources2 = /* @__PURE__ */ function(SuppressedError2) {
5922
+ var __disposeResources2 = /* @__PURE__ */ function(SuppressedError3) {
5836
5923
  return function(env) {
5837
5924
  function fail(e) {
5838
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
5925
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
5839
5926
  env.hasError = true;
5840
5927
  }
5841
5928
  var r, s = 0;
@@ -6541,10 +6628,10 @@
6541
6628
  }
6542
6629
  return value;
6543
6630
  };
6544
- var __disposeResources3 = /* @__PURE__ */ function(SuppressedError2) {
6631
+ var __disposeResources3 = /* @__PURE__ */ function(SuppressedError3) {
6545
6632
  return function(env) {
6546
6633
  function fail(e) {
6547
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
6634
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
6548
6635
  env.hasError = true;
6549
6636
  }
6550
6637
  var r, s = 0;
@@ -7979,9 +8066,9 @@
7979
8066
  /**
7980
8067
  * @internal
7981
8068
  */
7982
- constructor(element, event) {
8069
+ constructor(element, multiple) {
7983
8070
  this.#element = element;
7984
- this.#multiple = event.mode !== "selectSingle";
8071
+ this.#multiple = multiple;
7985
8072
  }
7986
8073
  /**
7987
8074
  * Whether file chooser allow for
@@ -8121,10 +8208,10 @@
8121
8208
  }
8122
8209
  return value;
8123
8210
  };
8124
- var __disposeResources4 = /* @__PURE__ */ function(SuppressedError2) {
8211
+ var __disposeResources4 = /* @__PURE__ */ function(SuppressedError3) {
8125
8212
  return function(env) {
8126
8213
  function fail(e) {
8127
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
8214
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
8128
8215
  env.hasError = true;
8129
8216
  }
8130
8217
  var r, s = 0;
@@ -8291,10 +8378,10 @@
8291
8378
  }
8292
8379
  return value;
8293
8380
  };
8294
- var __disposeResources5 = /* @__PURE__ */ function(SuppressedError2) {
8381
+ var __disposeResources5 = /* @__PURE__ */ function(SuppressedError3) {
8295
8382
  return function(env) {
8296
8383
  function fail(e) {
8297
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
8384
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
8298
8385
  env.hasError = true;
8299
8386
  }
8300
8387
  var r, s = 0;
@@ -9779,10 +9866,10 @@
9779
9866
  }
9780
9867
  return value;
9781
9868
  };
9782
- var __disposeResources6 = /* @__PURE__ */ function(SuppressedError2) {
9869
+ var __disposeResources6 = /* @__PURE__ */ function(SuppressedError3) {
9783
9870
  return function(env) {
9784
9871
  function fail(e) {
9785
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
9872
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
9786
9873
  env.hasError = true;
9787
9874
  }
9788
9875
  var r, s = 0;
@@ -9918,10 +10005,10 @@
9918
10005
  }
9919
10006
  return value;
9920
10007
  };
9921
- var __disposeResources7 = /* @__PURE__ */ function(SuppressedError2) {
10008
+ var __disposeResources7 = /* @__PURE__ */ function(SuppressedError3) {
9922
10009
  return function(env) {
9923
10010
  function fail(e) {
9924
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
10011
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
9925
10012
  env.hasError = true;
9926
10013
  }
9927
10014
  var r, s = 0;
@@ -10745,10 +10832,10 @@
10745
10832
  }
10746
10833
  return value;
10747
10834
  };
10748
- var __disposeResources8 = /* @__PURE__ */ function(SuppressedError2) {
10835
+ var __disposeResources8 = /* @__PURE__ */ function(SuppressedError3) {
10749
10836
  return function(env) {
10750
10837
  function fail(e) {
10751
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
10838
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
10752
10839
  env.hasError = true;
10753
10840
  }
10754
10841
  var r, s = 0;
@@ -11771,10 +11858,10 @@
11771
11858
  }
11772
11859
  return value;
11773
11860
  };
11774
- var __disposeResources9 = /* @__PURE__ */ function(SuppressedError2) {
11861
+ var __disposeResources9 = /* @__PURE__ */ function(SuppressedError3) {
11775
11862
  return function(env) {
11776
11863
  function fail(e) {
11777
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
11864
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
11778
11865
  env.hasError = true;
11779
11866
  }
11780
11867
  var r, s = 0;
@@ -13407,10 +13494,10 @@
13407
13494
  }
13408
13495
  return value;
13409
13496
  };
13410
- var __disposeResources10 = /* @__PURE__ */ function(SuppressedError2) {
13497
+ var __disposeResources10 = /* @__PURE__ */ function(SuppressedError3) {
13411
13498
  return function(env) {
13412
13499
  function fail(e) {
13413
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
13500
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
13414
13501
  env.hasError = true;
13415
13502
  }
13416
13503
  var r, s = 0;
@@ -13828,10 +13915,10 @@ ${sourceUrlComment}
13828
13915
  }
13829
13916
  return value;
13830
13917
  };
13831
- var __disposeResources11 = /* @__PURE__ */ function(SuppressedError2) {
13918
+ var __disposeResources11 = /* @__PURE__ */ function(SuppressedError3) {
13832
13919
  return function(env) {
13833
13920
  function fail(e) {
13834
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
13921
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
13835
13922
  env.hasError = true;
13836
13923
  }
13837
13924
  var r, s = 0;
@@ -16485,7 +16572,7 @@ ${sourceUrlComment}
16485
16572
  if (!request) {
16486
16573
  return;
16487
16574
  }
16488
- this.#maybeReassignOOPIFRequestClient(client, request);
16575
+ this.#adoptCdpSessionIfNeeded(client, request);
16489
16576
  if (request.response()) {
16490
16577
  request.response()?._resolveBody();
16491
16578
  }
@@ -16505,7 +16592,7 @@ ${sourceUrlComment}
16505
16592
  if (!request) {
16506
16593
  return;
16507
16594
  }
16508
- this.#maybeReassignOOPIFRequestClient(client, request);
16595
+ this.#adoptCdpSessionIfNeeded(client, request);
16509
16596
  request._failureText = event.errorText;
16510
16597
  const response = request.response();
16511
16598
  if (response) {
@@ -16514,8 +16601,8 @@ ${sourceUrlComment}
16514
16601
  this.#forgetRequest(request, true);
16515
16602
  this.emit(NetworkManagerEvent.RequestFailed, request);
16516
16603
  }
16517
- #maybeReassignOOPIFRequestClient(client, request) {
16518
- if (client !== request.client && request.isNavigationRequest()) {
16604
+ #adoptCdpSessionIfNeeded(client, request) {
16605
+ if (client !== request.client) {
16519
16606
  request.client = client;
16520
16607
  }
16521
16608
  }
@@ -18067,7 +18154,7 @@ ${sourceUrlComment}
18067
18154
  #client;
18068
18155
  #id;
18069
18156
  #targetType;
18070
- constructor(client, url, targetId, targetType, consoleAPICalled, exceptionThrown) {
18157
+ constructor(client, url, targetId, targetType, consoleAPICalled, exceptionThrown, networkManager) {
18071
18158
  super(url);
18072
18159
  this.#id = targetId;
18073
18160
  this.#client = client;
@@ -18089,6 +18176,7 @@ ${sourceUrlComment}
18089
18176
  this.#client.once(CDPSessionEvent.Disconnected, () => {
18090
18177
  this.#world.dispose();
18091
18178
  });
18179
+ networkManager?.addClient(this.#client).catch(debugError);
18092
18180
  this.#client.send("Runtime.enable").catch(debugError);
18093
18181
  }
18094
18182
  mainRealm() {
@@ -18145,10 +18233,10 @@ ${sourceUrlComment}
18145
18233
  }
18146
18234
  return value;
18147
18235
  };
18148
- var __disposeResources12 = /* @__PURE__ */ function(SuppressedError2) {
18236
+ var __disposeResources12 = /* @__PURE__ */ function(SuppressedError3) {
18149
18237
  return function(env) {
18150
18238
  function fail(e) {
18151
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
18239
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
18152
18240
  env.hasError = true;
18153
18241
  }
18154
18242
  var r, s = 0;
@@ -18358,7 +18446,7 @@ ${sourceUrlComment}
18358
18446
  assert(session instanceof CdpCDPSession);
18359
18447
  this.#frameManager.onAttachedToTarget(session.target());
18360
18448
  if (session.target()._getTargetInfo().type === "worker") {
18361
- const worker = new CdpWebWorker(session, session.target().url(), session.target()._targetId, session.target().type(), this.#addConsoleMessage.bind(this), this.#handleException.bind(this));
18449
+ 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);
18362
18450
  this.#workers.set(session.id(), worker);
18363
18451
  this.emit("workercreated", worker);
18364
18452
  }
@@ -18388,7 +18476,7 @@ ${sourceUrlComment}
18388
18476
  const frame = this.#frameManager.frame(event.frameId);
18389
18477
  assert(frame, "This should never happen.");
18390
18478
  const handle = __addDisposableResource12(env_1, await frame.worlds[MAIN_WORLD].adoptBackendNode(event.backendNodeId), false);
18391
- const fileChooser = new FileChooser(handle.move(), event);
18479
+ const fileChooser = new FileChooser(handle.move(), event.mode !== "selectSingle");
18392
18480
  for (const promise of this.#fileChooserDeferreds) {
18393
18481
  promise.resolve(fileChooser);
18394
18482
  }
@@ -19006,10 +19094,10 @@ ${sourceUrlComment}
19006
19094
  }
19007
19095
  return value;
19008
19096
  };
19009
- var __disposeResources13 = /* @__PURE__ */ function(SuppressedError2) {
19097
+ var __disposeResources13 = /* @__PURE__ */ function(SuppressedError3) {
19010
19098
  return function(env) {
19011
19099
  function fail(e) {
19012
- env.error = env.hasError ? new SuppressedError2(e, env.error, "An error was suppressed during disposal.") : e;
19100
+ env.error = env.hasError ? new SuppressedError3(e, env.error, "An error was suppressed during disposal.") : e;
19013
19101
  env.hasError = true;
19014
19102
  }
19015
19103
  var r, s = 0;
@@ -19353,8 +19441,9 @@ ${sourceUrlComment}
19353
19441
  () => {
19354
19442
  },
19355
19443
  () => {
19356
- }
19357
- /* exceptionThrown */
19444
+ },
19445
+ void 0
19446
+ /* networkManager */
19358
19447
  );
19359
19448
  });
19360
19449
  }
@@ -19934,13 +20023,14 @@ ${sourceUrlComment}
19934
20023
  (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
19935
20024
 
19936
20025
  puppeteer-core/lib/esm/puppeteer/environment.js:
19937
- (**
19938
- * @license
19939
- * Copyright 2020 Google Inc.
19940
- * SPDX-License-Identifier: Apache-2.0
19941
- *)
19942
-
19943
20026
  puppeteer-core/lib/esm/puppeteer/util/assert.js:
20027
+ puppeteer-core/lib/esm/puppeteer/common/Debug.js:
20028
+ puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js:
20029
+ puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js:
20030
+ puppeteer-core/lib/esm/puppeteer/common/FileChooser.js:
20031
+ puppeteer-core/lib/esm/puppeteer/cdp/AriaQueryHandler.js:
20032
+ puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js:
20033
+ puppeteer-core/lib/esm/puppeteer/cdp/BrowserConnector.js:
19944
20034
  (**
19945
20035
  * @license
19946
20036
  * Copyright 2020 Google Inc.
@@ -19948,520 +20038,105 @@ puppeteer-core/lib/esm/puppeteer/util/assert.js:
19948
20038
  *)
19949
20039
 
19950
20040
  puppeteer-core/lib/esm/puppeteer/util/encoding.js:
20041
+ puppeteer-core/lib/esm/puppeteer/util/Deferred.js:
20042
+ puppeteer-core/lib/esm/puppeteer/util/Mutex.js:
20043
+ puppeteer-core/lib/esm/puppeteer/cdp/Binding.js:
20044
+ puppeteer-core/lib/esm/puppeteer/util/incremental-id-generator.js:
20045
+ puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js:
20046
+ puppeteer-core/lib/esm/puppeteer/cdp/CdpPreloadScript.js:
20047
+ puppeteer-core/lib/esm/puppeteer/cdp/BrowserContext.js:
19951
20048
  (**
19952
20049
  * @license
19953
20050
  * Copyright 2024 Google Inc.
19954
20051
  * SPDX-License-Identifier: Apache-2.0
19955
20052
  *)
19956
20053
 
19957
- puppeteer-core/lib/esm/puppeteer/common/Debug.js:
19958
- (**
19959
- * @license
19960
- * Copyright 2020 Google Inc.
19961
- * SPDX-License-Identifier: Apache-2.0
19962
- *)
19963
-
19964
20054
  puppeteer-core/lib/esm/puppeteer/common/Errors.js:
20055
+ puppeteer-core/lib/esm/puppeteer/cdp/Accessibility.js:
20056
+ puppeteer-core/lib/esm/puppeteer/api/WebWorker.js:
19965
20057
  (**
19966
20058
  * @license
19967
20059
  * Copyright 2018 Google Inc.
19968
20060
  * SPDX-License-Identifier: Apache-2.0
19969
20061
  *)
19970
20062
 
19971
- puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js:
19972
- (**
19973
- * @license
19974
- * Copyright 2020 Google Inc.
19975
- * SPDX-License-Identifier: Apache-2.0
19976
- *)
19977
-
19978
20063
  puppeteer-core/lib/esm/puppeteer/common/util.js:
19979
- (**
19980
- * @license
19981
- * Copyright 2017 Google Inc.
19982
- * SPDX-License-Identifier: Apache-2.0
19983
- *)
19984
-
19985
- puppeteer-core/lib/esm/puppeteer/util/disposable.js:
19986
- (**
19987
- * @license
19988
- * Copyright 2023 Google Inc.
19989
- * SPDX-License-Identifier: Apache-2.0
19990
- *)
19991
-
19992
- puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js:
19993
- (**
19994
- * @license
19995
- * Copyright 2022 Google Inc.
19996
- * SPDX-License-Identifier: Apache-2.0
19997
- *)
19998
-
19999
- puppeteer-core/lib/esm/puppeteer/util/Deferred.js:
20000
- (**
20001
- * @license
20002
- * Copyright 2024 Google Inc.
20003
- * SPDX-License-Identifier: Apache-2.0
20004
- *)
20005
-
20006
- puppeteer-core/lib/esm/puppeteer/util/Mutex.js:
20007
- (**
20008
- * @license
20009
- * Copyright 2024 Google Inc.
20010
- * SPDX-License-Identifier: Apache-2.0
20011
- *)
20012
-
20013
20064
  puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js:
20065
+ puppeteer-core/lib/esm/puppeteer/api/Page.js:
20066
+ puppeteer-core/lib/esm/puppeteer/cdp/CdpSession.js:
20067
+ puppeteer-core/lib/esm/puppeteer/cdp/Connection.js:
20068
+ puppeteer-core/lib/esm/puppeteer/cdp/Coverage.js:
20069
+ puppeteer-core/lib/esm/puppeteer/api/Dialog.js:
20070
+ puppeteer-core/lib/esm/puppeteer/cdp/Dialog.js:
20071
+ puppeteer-core/lib/esm/puppeteer/cdp/utils.js:
20072
+ puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js:
20073
+ puppeteer-core/lib/esm/puppeteer/cdp/Frame.js:
20074
+ puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js:
20075
+ puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js:
20076
+ puppeteer-core/lib/esm/puppeteer/api/Input.js:
20077
+ puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js:
20078
+ puppeteer-core/lib/esm/puppeteer/cdp/Input.js:
20079
+ puppeteer-core/lib/esm/puppeteer/cdp/Page.js:
20080
+ puppeteer-core/lib/esm/puppeteer/cdp/Browser.js:
20014
20081
  (**
20015
20082
  * @license
20016
20083
  * Copyright 2017 Google Inc.
20017
20084
  * SPDX-License-Identifier: Apache-2.0
20018
20085
  *)
20019
20086
 
20020
- puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js:
20021
- (**
20022
- * @license
20023
- * Copyright 2019 Google Inc.
20024
- * SPDX-License-Identifier: Apache-2.0
20025
- *)
20026
-
20087
+ puppeteer-core/lib/esm/puppeteer/util/disposable.js:
20027
20088
  puppeteer-core/lib/esm/puppeteer/util/decorators.js:
20089
+ puppeteer-core/lib/esm/puppeteer/api/JSHandle.js:
20090
+ puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:
20091
+ puppeteer-core/lib/esm/puppeteer/api/ElementHandleSymbol.js:
20092
+ puppeteer-core/lib/esm/puppeteer/util/Function.js:
20093
+ puppeteer-core/lib/esm/puppeteer/common/HandleIterator.js:
20094
+ puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js:
20095
+ puppeteer-core/lib/esm/puppeteer/common/CSSQueryHandler.js:
20096
+ puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.js:
20097
+ puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.js:
20098
+ puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.js:
20099
+ puppeteer-core/lib/esm/puppeteer/common/PSelectorParser.js:
20100
+ puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.js:
20101
+ puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.js:
20102
+ puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js:
20103
+ puppeteer-core/lib/esm/puppeteer/api/Frame.js:
20104
+ puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js:
20105
+ puppeteer-core/lib/esm/puppeteer/cdp/FrameManagerEvents.js:
20106
+ puppeteer-core/lib/esm/puppeteer/api/Realm.js:
20107
+ puppeteer-core/lib/esm/puppeteer/api/HTTPResponse.js:
20108
+ puppeteer-core/lib/esm/puppeteer/api/Target.js:
20028
20109
  (**
20029
20110
  * @license
20030
20111
  * Copyright 2023 Google Inc.
20031
20112
  * SPDX-License-Identifier: Apache-2.0
20032
20113
  *)
20033
20114
 
20034
- puppeteer-core/lib/esm/puppeteer/api/Page.js:
20035
- (**
20036
- * @license
20037
- * Copyright 2017 Google Inc.
20038
- * SPDX-License-Identifier: Apache-2.0
20039
- *)
20040
-
20041
- puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js:
20042
- (**
20043
- * @license
20044
- * Copyright 2020 Google Inc.
20045
- * SPDX-License-Identifier: Apache-2.0
20046
- *)
20047
-
20048
- puppeteer-core/lib/esm/puppeteer/common/FileChooser.js:
20049
- (**
20050
- * @license
20051
- * Copyright 2020 Google Inc.
20052
- * SPDX-License-Identifier: Apache-2.0
20053
- *)
20054
-
20115
+ puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js:
20055
20116
  puppeteer-core/lib/esm/puppeteer/common/NetworkManagerEvents.js:
20056
- (**
20057
- * @license
20058
- * Copyright 2022 Google Inc.
20059
- * SPDX-License-Identifier: Apache-2.0
20060
- *)
20061
-
20062
20117
  puppeteer-core/lib/esm/puppeteer/util/ErrorLike.js:
20118
+ puppeteer-core/lib/esm/puppeteer/common/LazyArg.js:
20119
+ puppeteer-core/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js:
20120
+ puppeteer-core/lib/esm/puppeteer/common/WaitTask.js:
20121
+ puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorlds.js:
20122
+ puppeteer-core/lib/esm/puppeteer/cdp/FrameTree.js:
20123
+ puppeteer-core/lib/esm/puppeteer/cdp/NetworkEventManager.js:
20124
+ puppeteer-core/lib/esm/puppeteer/cdp/TargetManager.js:
20063
20125
  (**
20064
20126
  * @license
20065
20127
  * Copyright 2022 Google Inc.
20066
20128
  * SPDX-License-Identifier: Apache-2.0
20067
20129
  *)
20068
20130
 
20069
- puppeteer-core/lib/esm/puppeteer/api/JSHandle.js:
20070
- (**
20071
- * @license
20072
- * Copyright 2023 Google Inc.
20073
- * SPDX-License-Identifier: Apache-2.0
20074
- *)
20075
-
20076
- puppeteer-core/lib/esm/puppeteer/cdp/Binding.js:
20077
- (**
20078
- * @license
20079
- * Copyright 2024 Google Inc.
20080
- * SPDX-License-Identifier: Apache-2.0
20081
- *)
20082
-
20083
- puppeteer-core/lib/esm/puppeteer/util/incremental-id-generator.js:
20084
- (**
20085
- * @license
20086
- * Copyright 2024 Google Inc.
20087
- * SPDX-License-Identifier: Apache-2.0
20088
- *)
20089
-
20090
- puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:
20091
- (**
20092
- * @license
20093
- * Copyright 2023 Google Inc.
20094
- * SPDX-License-Identifier: Apache-2.0
20095
- *)
20096
-
20097
- puppeteer-core/lib/esm/puppeteer/cdp/CdpSession.js:
20098
- (**
20099
- * @license
20100
- * Copyright 2017 Google Inc.
20101
- * SPDX-License-Identifier: Apache-2.0
20102
- *)
20103
-
20104
- puppeteer-core/lib/esm/puppeteer/cdp/Connection.js:
20105
- (**
20106
- * @license
20107
- * Copyright 2017 Google Inc.
20108
- * SPDX-License-Identifier: Apache-2.0
20109
- *)
20110
-
20111
- puppeteer-core/lib/esm/puppeteer/cdp/Coverage.js:
20112
- (**
20113
- * @license
20114
- * Copyright 2017 Google Inc.
20115
- * SPDX-License-Identifier: Apache-2.0
20116
- *)
20117
-
20118
- puppeteer-core/lib/esm/puppeteer/api/Dialog.js:
20119
- (**
20120
- * @license
20121
- * Copyright 2017 Google Inc.
20122
- * SPDX-License-Identifier: Apache-2.0
20123
- *)
20124
-
20125
- puppeteer-core/lib/esm/puppeteer/cdp/Dialog.js:
20126
- (**
20127
- * @license
20128
- * Copyright 2017 Google Inc.
20129
- * SPDX-License-Identifier: Apache-2.0
20130
- *)
20131
-
20132
- puppeteer-core/lib/esm/puppeteer/api/ElementHandleSymbol.js:
20133
- (**
20134
- * @license
20135
- * Copyright 2023 Google Inc.
20136
- * SPDX-License-Identifier: Apache-2.0
20137
- *)
20138
-
20139
- puppeteer-core/lib/esm/puppeteer/util/Function.js:
20140
- (**
20141
- * @license
20142
- * Copyright 2023 Google Inc.
20143
- * SPDX-License-Identifier: Apache-2.0
20144
- *)
20145
-
20146
- puppeteer-core/lib/esm/puppeteer/common/HandleIterator.js:
20147
- (**
20148
- * @license
20149
- * Copyright 2023 Google Inc.
20150
- * SPDX-License-Identifier: Apache-2.0
20151
- *)
20152
-
20153
- puppeteer-core/lib/esm/puppeteer/common/LazyArg.js:
20154
- (**
20155
- * @license
20156
- * Copyright 2022 Google Inc.
20157
- * SPDX-License-Identifier: Apache-2.0
20158
- *)
20159
-
20160
- puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js:
20161
- (**
20162
- * @license
20163
- * Copyright 2023 Google Inc.
20164
- * SPDX-License-Identifier: Apache-2.0
20165
- *)
20166
-
20167
- puppeteer-core/lib/esm/puppeteer/cdp/AriaQueryHandler.js:
20168
- (**
20169
- * @license
20170
- * Copyright 2020 Google Inc.
20171
- * SPDX-License-Identifier: Apache-2.0
20172
- *)
20173
-
20174
- puppeteer-core/lib/esm/puppeteer/common/CSSQueryHandler.js:
20175
- (**
20176
- * @license
20177
- * Copyright 2023 Google Inc.
20178
- * SPDX-License-Identifier: Apache-2.0
20179
- *)
20180
-
20181
- puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js:
20182
- (**
20183
- * @license
20184
- * Copyright 2024 Google Inc.
20185
- * SPDX-License-Identifier: Apache-2.0
20186
- *)
20187
-
20188
- puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.js:
20189
- (**
20190
- * @license
20191
- * Copyright 2023 Google Inc.
20192
- * SPDX-License-Identifier: Apache-2.0
20193
- *)
20194
-
20195
- puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.js:
20196
- (**
20197
- * @license
20198
- * Copyright 2023 Google Inc.
20199
- * SPDX-License-Identifier: Apache-2.0
20200
- *)
20201
-
20202
- puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.js:
20203
- (**
20204
- * @license
20205
- * Copyright 2023 Google Inc.
20206
- * SPDX-License-Identifier: Apache-2.0
20207
- *)
20208
-
20209
- puppeteer-core/lib/esm/puppeteer/common/PSelectorParser.js:
20210
- (**
20211
- * @license
20212
- * Copyright 2023 Google Inc.
20213
- * SPDX-License-Identifier: Apache-2.0
20214
- *)
20215
-
20216
- puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.js:
20217
- (**
20218
- * @license
20219
- * Copyright 2023 Google Inc.
20220
- * SPDX-License-Identifier: Apache-2.0
20221
- *)
20222
-
20223
- puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.js:
20224
- (**
20225
- * @license
20226
- * Copyright 2023 Google Inc.
20227
- * SPDX-License-Identifier: Apache-2.0
20228
- *)
20229
-
20230
- puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js:
20231
- (**
20232
- * @license
20233
- * Copyright 2023 Google Inc.
20234
- * SPDX-License-Identifier: Apache-2.0
20235
- *)
20236
-
20237
- puppeteer-core/lib/esm/puppeteer/api/Frame.js:
20238
- (**
20239
- * @license
20240
- * Copyright 2023 Google Inc.
20241
- * SPDX-License-Identifier: Apache-2.0
20242
- *)
20243
-
20244
- puppeteer-core/lib/esm/puppeteer/cdp/CdpPreloadScript.js:
20245
- (**
20246
- * @license
20247
- * Copyright 2024 Google Inc.
20248
- * SPDX-License-Identifier: Apache-2.0
20249
- *)
20250
-
20251
- puppeteer-core/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js:
20252
- (**
20253
- * @license
20254
- * Copyright 2022 Google Inc.
20255
- * SPDX-License-Identifier: Apache-2.0
20256
- *)
20257
-
20258
- puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js:
20259
- (**
20260
- * @license
20261
- * Copyright 2023 Google Inc.
20262
- * SPDX-License-Identifier: Apache-2.0
20263
- *)
20264
-
20265
- puppeteer-core/lib/esm/puppeteer/cdp/utils.js:
20266
- (**
20267
- * @license
20268
- * Copyright 2017 Google Inc.
20269
- * SPDX-License-Identifier: Apache-2.0
20270
- *)
20271
-
20272
- puppeteer-core/lib/esm/puppeteer/cdp/JSHandle.js:
20273
- (**
20274
- * @license
20275
- * Copyright 2019 Google Inc.
20276
- * SPDX-License-Identifier: Apache-2.0
20277
- *)
20278
-
20279
- puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js:
20131
+ puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js:
20132
+ puppeteer-core/lib/esm/puppeteer/cdp/JSHandle.js:
20133
+ puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js:
20134
+ puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js:
20135
+ puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js:
20136
+ puppeteer-core/lib/esm/puppeteer/cdp/Target.js:
20280
20137
  (**
20281
20138
  * @license
20282
20139
  * Copyright 2019 Google Inc.
20283
20140
  * SPDX-License-Identifier: Apache-2.0
20284
20141
  *)
20285
-
20286
- puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js:
20287
- (**
20288
- * @license
20289
- * Copyright 2017 Google Inc.
20290
- * SPDX-License-Identifier: Apache-2.0
20291
- *)
20292
-
20293
- puppeteer-core/lib/esm/puppeteer/cdp/Accessibility.js:
20294
- (**
20295
- * @license
20296
- * Copyright 2018 Google Inc.
20297
- * SPDX-License-Identifier: Apache-2.0
20298
- *)
20299
-
20300
- puppeteer-core/lib/esm/puppeteer/cdp/FrameManagerEvents.js:
20301
- (**
20302
- * @license
20303
- * Copyright 2023 Google Inc.
20304
- * SPDX-License-Identifier: Apache-2.0
20305
- *)
20306
-
20307
- puppeteer-core/lib/esm/puppeteer/common/WaitTask.js:
20308
- (**
20309
- * @license
20310
- * Copyright 2022 Google Inc.
20311
- * SPDX-License-Identifier: Apache-2.0
20312
- *)
20313
-
20314
- puppeteer-core/lib/esm/puppeteer/api/Realm.js:
20315
- (**
20316
- * @license
20317
- * Copyright 2023 Google Inc.
20318
- * SPDX-License-Identifier: Apache-2.0
20319
- *)
20320
-
20321
- puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js:
20322
- (**
20323
- * @license
20324
- * Copyright 2019 Google Inc.
20325
- * SPDX-License-Identifier: Apache-2.0
20326
- *)
20327
-
20328
- puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorlds.js:
20329
- (**
20330
- * @license
20331
- * Copyright 2022 Google Inc.
20332
- * SPDX-License-Identifier: Apache-2.0
20333
- *)
20334
-
20335
- puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js:
20336
- (**
20337
- * @license
20338
- * Copyright 2019 Google Inc.
20339
- * SPDX-License-Identifier: Apache-2.0
20340
- *)
20341
-
20342
- puppeteer-core/lib/esm/puppeteer/cdp/Frame.js:
20343
- (**
20344
- * @license
20345
- * Copyright 2017 Google Inc.
20346
- * SPDX-License-Identifier: Apache-2.0
20347
- *)
20348
-
20349
- puppeteer-core/lib/esm/puppeteer/cdp/FrameTree.js:
20350
- (**
20351
- * @license
20352
- * Copyright 2022 Google Inc.
20353
- * SPDX-License-Identifier: Apache-2.0
20354
- *)
20355
-
20356
- puppeteer-core/lib/esm/puppeteer/api/HTTPResponse.js:
20357
- (**
20358
- * @license
20359
- * Copyright 2023 Google Inc.
20360
- * SPDX-License-Identifier: Apache-2.0
20361
- *)
20362
-
20363
- puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js:
20364
- (**
20365
- * @license
20366
- * Copyright 2020 Google Inc.
20367
- * SPDX-License-Identifier: Apache-2.0
20368
- *)
20369
-
20370
- puppeteer-core/lib/esm/puppeteer/cdp/NetworkEventManager.js:
20371
- (**
20372
- * @license
20373
- * Copyright 2022 Google Inc.
20374
- * SPDX-License-Identifier: Apache-2.0
20375
- *)
20376
-
20377
- puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js:
20378
- (**
20379
- * @license
20380
- * Copyright 2017 Google Inc.
20381
- * SPDX-License-Identifier: Apache-2.0
20382
- *)
20383
-
20384
- puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js:
20385
- (**
20386
- * @license
20387
- * Copyright 2017 Google Inc.
20388
- * SPDX-License-Identifier: Apache-2.0
20389
- *)
20390
-
20391
- puppeteer-core/lib/esm/puppeteer/api/Input.js:
20392
- (**
20393
- * @license
20394
- * Copyright 2017 Google Inc.
20395
- * SPDX-License-Identifier: Apache-2.0
20396
- *)
20397
-
20398
- puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js:
20399
- (**
20400
- * @license
20401
- * Copyright 2017 Google Inc.
20402
- * SPDX-License-Identifier: Apache-2.0
20403
- *)
20404
-
20405
- puppeteer-core/lib/esm/puppeteer/cdp/Input.js:
20406
- (**
20407
- * @license
20408
- * Copyright 2017 Google Inc.
20409
- * SPDX-License-Identifier: Apache-2.0
20410
- *)
20411
-
20412
- puppeteer-core/lib/esm/puppeteer/api/Target.js:
20413
- (**
20414
- * @license
20415
- * Copyright 2023 Google Inc.
20416
- * SPDX-License-Identifier: Apache-2.0
20417
- *)
20418
-
20419
- puppeteer-core/lib/esm/puppeteer/api/WebWorker.js:
20420
- (**
20421
- * @license
20422
- * Copyright 2018 Google Inc.
20423
- * SPDX-License-Identifier: Apache-2.0
20424
- *)
20425
-
20426
- puppeteer-core/lib/esm/puppeteer/cdp/Page.js:
20427
- (**
20428
- * @license
20429
- * Copyright 2017 Google Inc.
20430
- * SPDX-License-Identifier: Apache-2.0
20431
- *)
20432
-
20433
- puppeteer-core/lib/esm/puppeteer/cdp/BrowserContext.js:
20434
- (**
20435
- * @license
20436
- * Copyright 2024 Google Inc.
20437
- * SPDX-License-Identifier: Apache-2.0
20438
- *)
20439
-
20440
- puppeteer-core/lib/esm/puppeteer/cdp/Target.js:
20441
- (**
20442
- * @license
20443
- * Copyright 2019 Google Inc.
20444
- * SPDX-License-Identifier: Apache-2.0
20445
- *)
20446
-
20447
- puppeteer-core/lib/esm/puppeteer/cdp/TargetManager.js:
20448
- (**
20449
- * @license
20450
- * Copyright 2022 Google Inc.
20451
- * SPDX-License-Identifier: Apache-2.0
20452
- *)
20453
-
20454
- puppeteer-core/lib/esm/puppeteer/cdp/Browser.js:
20455
- (**
20456
- * @license
20457
- * Copyright 2017 Google Inc.
20458
- * SPDX-License-Identifier: Apache-2.0
20459
- *)
20460
-
20461
- puppeteer-core/lib/esm/puppeteer/cdp/BrowserConnector.js:
20462
- (**
20463
- * @license
20464
- * Copyright 2020 Google Inc.
20465
- * SPDX-License-Identifier: Apache-2.0
20466
- *)
20467
20142
  */