-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HOF-475: Updated browser.js file to resolve test failure
- Loading branch information
1 parent
fdc92de
commit cf703f5
Showing
1 changed file
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
'use strict'; | ||
|
||
const webdriverio = require('webdriverio'); | ||
const options = { | ||
/* const options = { | ||
deprecationWarnings: false, | ||
desiredCapabilities: { | ||
browserName: 'chrome' | ||
} | ||
}; | ||
}; */ | ||
|
||
const client = webdriverio | ||
.remote(options); | ||
const client = await webdriverio.remote({ | ||
capabilities: { | ||
browserName: 'chrome' | ||
} | ||
}); | ||
|
||
/* const client = webdriverio | ||
.remote(options); */ | ||
|
||
client.addCommand('goto', require('../../../utilities').autofill(client), false); | ||
client.addCommand('goto', require('../../../utilities').autofill(client)); | ||
|
||
module.exports = () => client.init(); |