nightwatch
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -448,5 +448,5 @@ var util = require("util"), | ||
var instance = null; | ||
exports.remote = function(options, settings) { | ||
exports.client = function(options, settings) { | ||
return new Nightwatch(options, settings); | ||
} | ||
{ | ||
"name": "nightwatch", | ||
"description": "A node.js bindings implementation for selenium 2.0/webdriver", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Andrei Rusu", |
var path = require('path'), | ||
fs = require('fs'), | ||
child_process = require('child_process'), | ||
webdriverjs = require('../index.js'), | ||
nightwatch = require('../index.js'), | ||
Logger = require("../lib/logger.js"), | ||
@@ -169,3 +169,3 @@ Reporter = require('./reporters/junit.js'), | ||
function runModule(module, opts, moduleName, callback) { | ||
var client = webdriverjs.remote(opts); | ||
var client = nightwatch.client(opts); | ||
var keys = Object.keys(module); | ||
@@ -172,0 +172,0 @@ var tests = []; |
Sorry, the diff of this file is not supported yet
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
34732317
70
3443
11