Commit 5971568b authored by Girish Ramakrishnan's avatar Girish Ramakrishnan

Fix builder usage

parent ea75a506
......@@ -21,7 +21,8 @@ var execSync = require('child_process').execSync,
var by = require('selenium-webdriver').By,
until = require('selenium-webdriver').until,
Key = require('selenium-webdriver').Key;
Key = require('selenium-webdriver').Key,
Builder = require('selenium-webdriver').Builder;
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
......@@ -32,8 +33,7 @@ if (!process.env.USERNAME || !process.env.PASSWORD) {
describe('Application life cycle test', function () {
this.timeout(0);
var chrome = require('selenium-webdriver/chrome');
var server, browser = new chrome.Driver();
var server, browser = new Builder().forBrowser('chrome').build();
var LOCATION = 'test';
var TEST_TIMEOUT = 10000;
var app;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment