Skip to content

Commit

Permalink
HOF-475: Updated browser.js file to resolve test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
SavantDhindsaHO committed Nov 6, 2023
1 parent fdc92de commit cf703f5
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions test/functional-tests/lib/browser.js
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();

0 comments on commit cf703f5

Please sign in to comment.