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
6
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.5.9 to 0.5.10

6

CHANGELOG.md
# @web/test-runner-chrome
## 0.5.10
### Patch Changes
- 7db1da1: open debug in a larger browser window
## 0.5.9

@@ -4,0 +10,0 @@

7

dist/chromeLauncher.js

@@ -99,6 +99,11 @@ "use strict";

async startDebugSession(session, url) {
var _a, _b;
if (debugBrowser === null || debugBrowser === void 0 ? void 0 : debugBrowser.isConnected()) {
await debugBrowser.close();
}
debugBrowser = await launchBrowser(Object.assign(Object.assign({}, launchOptions), { devtools: true }));
// set a default window size if the user didn't set any. this will cause the
// browser to be opened maximized, chrome doesn't open larger than the physical screen
const args = ((_a = launchOptions.args) === null || _a === void 0 ? void 0 : _a.includes('--window-size')) ? launchOptions.args
: [...((_b = launchOptions.args) !== null && _b !== void 0 ? _b : []), '--window-size=4000,4000'];
debugBrowser = await launchBrowser(Object.assign(Object.assign({}, launchOptions), { args, devtools: true }));
const page = await debugBrowser.newPage();

@@ -105,0 +110,0 @@ debugPages.set(session.id, page);

2

package.json
{
"name": "@web/test-runner-chrome",
"version": "0.5.9",
"version": "0.5.10",
"publishConfig": {

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

Sorry, the diff of this file is not supported yet

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