From 9a202ab5573f24c9919639f1b75fd9cd2b383383 Mon Sep 17 00:00:00 2001 From: Julie Ralph Date: Thu, 24 Sep 2015 15:35:25 -0700 Subject: [PATCH] chore(dependencies): update selenium-webdriver to 2.47.1 Along with it, update `jasminewd2` to avoid situations where the control flow gets locked up and hangs. Potential Breaking Change: This is passing all existing Protractor tests, but there is a possibility that the changes to the control flow will cause some test flows to hang. If this causes issues, please revisit your use of functions affecting the control flow, such as `flow.execute`. --- lib/debugger/debuggerCommons.js | 2 +- lib/driverProviders/direct.js | 2 +- package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/debugger/debuggerCommons.js b/lib/debugger/debuggerCommons.js index 29cbf341f..2f9f948ab 100644 --- a/lib/debugger/debuggerCommons.js +++ b/lib/debugger/debuggerCommons.js @@ -18,7 +18,7 @@ exports.attachDebugger = function(pid, opt_port) { client.setBreakpoint({ type: 'scriptRegExp', target: '.*executors\.js', //jshint ignore:line - line: 37 + line: 40 }, function() { process.send('ready'); client.reqContinue(function() { diff --git a/lib/driverProviders/direct.js b/lib/driverProviders/direct.js index bfa06e163..6f1ff71c4 100644 --- a/lib/driverProviders/direct.js +++ b/lib/driverProviders/direct.js @@ -65,7 +65,7 @@ DirectDriverProvider.prototype.getNewDriver = function() { } var service = new chrome.ServiceBuilder(chromeDriverFile).build(); - driver = chrome.createDriver( + driver = new chrome.Driver( new webdriver.Capabilities(this.config_.capabilities), service); break; case 'firefox': diff --git a/package.json b/package.json index 1b1829031..e35e59c9a 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,10 @@ "author": "Julie Ralph ", "dependencies": { "request": "~2.57.0", - "selenium-webdriver": "2.45.1", + "selenium-webdriver": "2.47.0", "minijasminenode": "1.1.1", "jasminewd": "1.1.0", - "jasminewd2": "0.0.5", + "jasminewd2": "0.0.6", "jasmine": "2.3.2", "saucelabs": "~1.0.1", "glob": "~3.2",