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

marionette-client

Package Overview
Dependencies
Maintainers
5
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 0.14.0 to 0.15.0

25

lib/marionette/element.js

@@ -291,3 +291,3 @@ /**

*/
size: function displayed(callback) {
size: function size(callback) {
var cmd = {

@@ -297,4 +297,25 @@ type: 'getElementSize'

return this._sendCommand(cmd, 'value', callback);
},
/**
* Returns the dictionary with x and y locatioin of an element.
*
* The returned location will be in the following format:
*
* // returned in callback or result of this call in the sync driver.
* {
* x: Number,
* y: Number
* }
*
* @method location
* @param {Function} callback [Error err, Object location].
* @return {Object} self.
*/
location: function location(callback) {
var cmd = {
type: 'getElementPosition'
};
return this._sendCommand(cmd, 'value', callback);
}
};

@@ -301,0 +322,0 @@

2

package.json
{
"name": "marionette-client",
"version": "0.14.0",
"version": "0.15.0",
"main": "lib/marionette/index",

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

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

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

@@ -11,0 +11,0 @@ ## Hacking

@@ -5,3 +5,3 @@ {

"version": "0.5.0",
"url": "https://github.com/lightsofapollo/marionette_js_client",
"url": "https://github.com/mozilla-b2g/marionette_js_client",
"logo": "none",

@@ -8,0 +8,0 @@ "options": {

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