Any ideas here? We’re using a selenium grid with the hub running at 3.141.59. When I try to enable loggingPrefs in the capabilities, the grid throws it out stating:
2021-10-13 20:10:17.046:WARN:osjs.HttpChannel:qtp92150540-1974: /wd/hub/session java.io.IOException: org.openqa.grid.common.exception.GridException: Cannot extract a capabilities from the request: {
"desiredCapabilities": {
"appPackage": "com.android.settings",
"clearSystemFiles": false,
"loggingPrefs": {
"browser": "ALL"
},
"disableAndroidWatchers": true,
"language": "en",
"locale": "US",
"unlockKey": "1111",
"deviceName": "*",
"tripadvisor:node.defaultDevice": true,
"tripadvisor:testng.session.hash": "a0e36394-ba0d-4af9-9dd1-ca5d3c4f53b5",
"newCommandTimeout": 45,
"platformVersion": "*",
"automationName": "UIAutomator2",
"unlockType": "pin",
"browserName": "",
"tripadvisor:testng.hostname": "bedouglas-mac",
"unicodeKeyboard": true,
"platformName": "Android",
"resetKeyboard": true,
"tripadvisor:testng.suite": "Default Suite",
"appActivity": "com.android.settings.Settings",
"tripadvisor:node.platformType": "Phone",
"autoLaunch": false,
"tripadvisor:testng.test": "testHotelTAPlusBooking",
"autoGrantPermissions": true,
"chromeOptions": {
"w3c": false,
"androidPackage": "com.tripadvisor.tripadvisor.prerelease"
}
},
"capabilities": {
"firstMatch": [
{
"appium:appActivity": "com.android.settings.Settings",
"appium:appPackage": "com.android.settings",
"appium:autoGrantPermissions": true,
"appium:autoLaunch": false,
"appium:automationName": "UIAutomator2",
"browserName": "",
"appium:chromeOptions": {
"w3c": false,
"androidPackage": "com.tripadvisor.tripadvisor.prerelease"
},
"appium:clearSystemFiles": false,
"appium:deviceName": "*",
"appium:disableAndroidWatchers": true,
"goog:chromeOptions": {
"w3c": false,
"androidPackage": "com.tripadvisor.tripadvisor.prerelease"
},
"appium:language": "en",
"appium:locale": "US",
"loggingPrefs": {
"browser": "ALL"
},
"appium:newCommandTimeout": 45,
"platformName": "android",
"appium:platformVersion": "*",
"appium:resetKeyboard": true,
"tripadvisor:node.defaultDevice": true,
"tripadvisor:node.platformType": "Phone",
"tripadvisor:testng.hostname": "bedouglas-mac",
"tripadvisor:testng.session.hash": "a0e36394-ba0d-4af9-9dd1-ca5d3c4f53b5",
"tripadvisor:testng.suite": "Default Suite",
"tripadvisor:testng.test": "testHotelTAPlusBooking",
"appium:unicodeKeyboard": true,
"appium:unlockKey": "1111",
"appium:unlockType": "pin"
}
]
}
}