I am try to run some automation scripts writing with WD.js on the lamda cloud server,but I can not handle this popup,any suggestions?Thanks so much!
Here is my capabilities setting,but it seems not work.
exports.config = {
seleniumHost: 'hub.lambdatest.com',
seleniumPort: 80,
test: '../tests/demo.js',
capabilities: [{
build: "test demo",
name: "work flow",
platform: "Android",
deviceName: "Huawei P20 Pro",
platformVersion: "9",
acceptSslCerts: true,
visual: "true",
browserName: 'chrome',
chromeOptions: {
prefs: {
credentials_enable_service: false,
'profile.password_manager_enabled': false,
'profile.default_content_setting_values.notifications': '2'
},
args: ['--ignore-certificate-errors',
'--disable-features=Translate',
'--disable-popup-blocking',
'--disable-notifications',
'-incognito']
}
}]
}