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

marionette-client

Package Overview
Dependencies
Maintainers
6
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marionette-client - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

19

lib/marionette/client.js

@@ -579,2 +579,7 @@ (function(module, ns) {

var scopeState = {};
for (key in this._state) {
scopeState[key] = this._state[key];
}
// copy the given options

@@ -592,2 +597,4 @@ for (key in options) {

scope._state = scopeState;
return scope;

@@ -1079,2 +1086,4 @@ },

* unspecified, will take a screenshot of the current frame
* * (Array) highlights: A list of element objects to draw a red box
* around in the returned screenshot.
*

@@ -1095,12 +1104,10 @@ * @method screenshot

if (options) {
cmd.parameters.id = options.parameters.id.id;
// TODO: Uncomment, document and test `highlights` option:
// Bug 912611 - Implement `highlights` option of `Client#screenshot`
/*
if (options.element) {
cmd.parameters.id = options.element.id;
}
if (options.highlights) {
cmd.highlights = options.highlights.map(function(elem) {
cmd.parameters.highlights = options.highlights.map(function(elem) {
return elem.id;
});
}
*/
}

@@ -1107,0 +1114,0 @@

{
"name": "marionette-client",
"version": "1.1.0",
"version": "1.1.1",
"main": "lib/marionette/index",

@@ -5,0 +5,0 @@ "description": "Marionette Javascript Client",

@@ -8,3 +8,3 @@ # Marionette JS Client

- [Api Docs](http://mozilla-b2g.github.com/marionette_js_client/api-docs/)
- [Api Docs](http://mozilla-b2g.github.com/marionette-js-client/api-docs/)
-

@@ -11,0 +11,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