Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

playwright-core

Package Overview
Dependencies
Maintainers
4
Versions
4740
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

playwright-core - npm Package Compare versions

Comparing version 1.49.0-alpha-2024-10-25 to 1.49.0-alpha-2024-10-26

lib/vite/recorder/assets/codeMirrorModule-D_qFTWTf.js

5

lib/server/page.js

@@ -509,7 +509,8 @@ "use strict";

let errorMessage = e.message;
if (e instanceof _errors.TimeoutError && (_intermediateResult = intermediateResult) !== null && _intermediateResult !== void 0 && _intermediateResult.previous) errorMessage = `Failed to take two consecutive stable screenshots. ${e.message}`;
if (e instanceof _errors.TimeoutError && (_intermediateResult = intermediateResult) !== null && _intermediateResult !== void 0 && _intermediateResult.previous) errorMessage = `Failed to take two consecutive stable screenshots.`;
return {
log: e.message ? [...metadata.log, e.message] : metadata.log,
...intermediateResult,
errorMessage
errorMessage,
timedOut: e instanceof _errors.TimeoutError
};

@@ -516,0 +517,0 @@ });

7

lib/server/trace/viewer/traceViewer.js

@@ -97,8 +97,3 @@ "use strict";

for (const reporter of options.reporter || []) params.append('reporter', reporter);
let baseUrl = '';
if (process.env.PW_HMR === '1') {
params.set('testServerPort', '' + server.port());
baseUrl = 'http://localhost:44223'; // port is hardcoded in build.js
}
const urlPath = `${baseUrl}/trace/${options.webApp || 'index.html'}?${params.toString()}`;
const urlPath = `./trace/${options.webApp || 'index.html'}?${params.toString()}`;
server.routePath('/', (_, response) => {

@@ -105,0 +100,0 @@ response.statusCode = 302;

@@ -28,2 +28,3 @@ "use strict";

}
const kDefaultTimeout = 5_000;
function traceParamsForAction(actionInContext) {

@@ -142,3 +143,4 @@ const {

expression: 'to.be.checked',
isNot: !action.checked
isNot: !action.checked,
timeout: kDefaultTimeout
};

@@ -156,3 +158,4 @@ return {

expectedText: [],
isNot: false
isNot: false,
timeout: kDefaultTimeout
};

@@ -170,3 +173,4 @@ return {

expectedValue: undefined,
isNot: false
isNot: false,
timeout: kDefaultTimeout
};

@@ -183,3 +187,4 @@ return {

expression: 'to.be.visible',
isNot: false
isNot: false,
timeout: kDefaultTimeout
};

@@ -197,3 +202,4 @@ return {

expectedText: [],
isNot: false
isNot: false,
timeout: kDefaultTimeout
};

@@ -200,0 +206,0 @@ return {

@@ -54,7 +54,4 @@ "use strict";

});
const nodeInternals = StackUtils.nodeInternals();
const nodeMajorVersion = +process.versions.node.split('.')[0];
function parseStackTraceLine(line) {
var _frame$file, _frame$file2;
if (!process.env.PWDEBUGIMPL && nodeMajorVersion < 16 && nodeInternals.some(internal => internal.test(line))) return null;
const frame = stackUtils.parseLine(line);

@@ -61,0 +58,0 @@ if (!frame) return null;

{
"name": "playwright-core",
"version": "1.49.0-alpha-2024-10-25",
"version": "1.49.0-alpha-2024-10-26",
"description": "A high-level API to automate web browsers",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc