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

marionette-js-logger

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marionette-js-logger - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

lib/client.js

@@ -425,6 +425,8 @@ // remember this is invoked on the device not

function client(device, port, callback) {
// required because marionette bails when there is no callback right now.
var noop = function() {};
// invoke function in marionette
var string = '(' + remoteScript.toString() + '(' + port + '));';
device.setContext('chrome').
executeScript(string).
device.setContext('chrome', noop).
executeScript(string, noop).
setContext('content', callback);

@@ -431,0 +433,0 @@ }

{
"name": "marionette-js-logger",
"version": "0.0.1",
"version": "0.0.2",
"author": "James Lal [:lightsofapollo]",

@@ -5,0 +5,0 @@ "description": "Realtime host -> desktop logging",

@@ -29,2 +29,7 @@ # Marionette JS Console plugin

};
driver.executeScript(function() {
// this works too but more importantly all other console.log's in content work too
console.log(document.location.href);
});
});

@@ -31,0 +36,0 @@

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