marionette-client
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -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 |
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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17735774
122
12082
31