[MM-22102] upgrade to electron 7 (#1268)
* fix errors * upgrade to electron 7 * getsavepath is deprecated * fix typo * disable messaging from 'null' * replace getname to its property * deprecated zoomlevel * deprecated setbadgecount * isdarkmode deprecated * it's a property, not a function * fix error message * fix test * fix test on linux
This commit is contained in:
@@ -57,7 +57,7 @@ module.exports = {
|
||||
// enable this if chromedriver hangs to see logs
|
||||
// chromeDriverLogPath: '../chromedriverlog.txt',
|
||||
};
|
||||
if (process.platform === 'darwin') {
|
||||
if (process.platform === 'darwin' || process.platform === 'linux') {
|
||||
// on a mac, debbuging port might conflict with other apps
|
||||
// this changes the default debugging port so chromedriver can run without issues.
|
||||
options.chromeDriverArgs.push('remote-debugging-port=9222');
|
||||
|
Reference in New Issue
Block a user