playwright-core 1.32.2 → 1.32.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.
@@ -233,4 +233,4 @@ const defaultLaunchOptions = {
233
233
  headless: true,
234
234
  devtools: false
235
235
  };
236
- const optionsThatAllowBrowserReuse = ['headless'];
236
+ const optionsThatAllowBrowserReuse = ['headless', 'tracesDir'];
@@ -80,7 +80,7 @@ function httpRequest(params, onResponse, onError) {
80
80
  const statusCode = res.statusCode || 0;
81
81
  if (statusCode >= 300 && statusCode < 400 && res.headers.location) httpRequest({
82
82
  ...params,
83
- url: res.headers.location
83
+ url: new URL.URL(res.headers.location, params.url).toString()
84
84
  }, onResponse, onError);else onResponse(res);
85
85
  };
86
86
  const request = options.protocol === 'https:' ? _https.default.request(options, requestCallback) : _http.default.request(options, requestCallback);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playwright-core",
3
- "version": "1.32.2",
3
+ "version": "1.32.3",
4
4
  "description": "A high-level API to automate web browsers",
5
5
  "repository": "github:Microsoft/playwright",
6
6
  "homepage": "https://playwright.dev",