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

@web/test-runner-chrome

Package Overview
Dependencies
Maintainers
5
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web/test-runner-chrome - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

7

CHANGELOG.md
# @web/test-runner-chrome
## 0.2.0
### Minor Changes
- 79f9e6b: open browser in debug
## 0.1.0
### Minor Changes
- 97e85e6: first setup

8

dist/chromeLauncher.js

@@ -16,5 +16,5 @@ "use strict";

const createUrl = (session) => `${serverAddress}?${PARAM_SESSION_ID}=${session.id}`;
function launchBrowser() {
function launchBrowser(options = {}) {
if (puppeteer) {
return puppeteer.launch({ args });
return puppeteer.launch(Object.assign(Object.assign({}, options), { args }));
}

@@ -30,3 +30,3 @@ else {

}
return puppeteer_core_1.launch({ executablePath, args });
return puppeteer_core_1.launch(Object.assign(Object.assign({}, options), { executablePath, args }));
}

@@ -53,3 +53,3 @@ }

}
debugBrowser = await launchBrowser();
debugBrowser = await launchBrowser({ devtools: true });
const page = await debugBrowser.newPage();

@@ -56,0 +56,0 @@ await page.goto(`${createUrl(session)}&${PARAM_DEBUG}=true`);

{
"name": "@web/test-runner-chrome",
"version": "0.1.0",
"version": "0.2.0",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

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