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

marionette-client

Package Overview
Dependencies
Maintainers
1
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.2.0 to 0.3.0

lib/marionette/drivers/tcp.js

3

HISTORY.md

@@ -0,1 +1,4 @@

# 0.3.0
Adding TCP driver for node
# 0.2.0

@@ -2,0 +5,0 @@ - Added support for wrapping/unwrapping elements

4

lib/marionette/drivers/index.js
module.exports = exports = {
Abstract: require('./abstract').Marionette.Drivers.Abstract,
HttpdPolling: require('./httpd-polling').Marionette.Drivers.HttpdPolling,
Websocket: require('./websocket').Marionette.Drivers.Websocket
Websocket: require('./websocket').Marionette.Drivers.Websocket,
//node only for now
Tcp: require('./tcp')
};
{
"name": "marionette-client",
"version": "0.2.0",
"version": "0.3.0",
"main": "lib/marionette/index",

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

var fs = require('fs');
var util = require('util');
var Marionette = require('../lib/marionette/index');
var driver = new Marionette.Drivers.HttpdPolling({
proxyUrl: 'http://localhost:8080/marionette'
});
var driver = new Marionette.Drivers.Tcp();

@@ -32,4 +30,5 @@ //var args = process.argv[2];

setScriptTimeout(10000).
executeScript(externalScript).
executeScript('return typeof(window.wrappedJSObject.SyntheticGestures)').
executeScript(function() {
console.log('shit works');
}).

@@ -36,0 +35,0 @@ deleteSession();

@@ -13,4 +13,5 @@ var EventEmitter = require('events').EventEmitter;

FakeSocket.prototype = Object.create(EventEmitter.prototype);
FakeSocket.prototype.connect = function(port) {
FakeSocket.prototype.connect = function(port, host) {
this.port = port;
this.host = host;
};

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