Closed ValzRon closed 1 year ago
@ValzRon replace max-sessions as maxSession. android-device-type should be androidDeviceType
Check package.json for other properties
@saikrishna321 Thanks, i will try that. Question: If I want to use maxSessions with hub/node remote execution, do I set it only for Hub or for the node also? Does it even work with remote execution?
Yes, set it in the hub config please.
@saikrishna321 the server starts however the log seems incomplete:
2023-06-28 08:45:17:494 - [Appium] Welcome to Appium v2.0.0-rc.3
2023-06-28 08:45:17:496 - [Appium] Non-default server args:
2023-06-28 08:45:17:498 - [Appium] {
2023-06-28 08:45:17:498 - [Appium] basePath: '/wd/hub',
2023-06-28 08:45:17:498 - [Appium] keepAliveTimeout: 300,
2023-06-28 08:45:17:498 - [Appium] logTimestamp: true,
2023-06-28 08:45:17:499 - [Appium] relaxedSecurityEnabled: true,
2023-06-28 08:45:17:499 - [Appium] usePlugins: [
2023-06-28 08:45:17:499 - [Appium] 'device-farm'
2023-06-28 08:45:17:499 - [Appium] ],
2023-06-28 08:45:17:500 - [Appium] plugin: {
2023-06-28 08:45:17:500 - [Appium] 'device-farm': {
2023-06-28 08:45:17:500 - [Appium] androidDeviceType: 'simulated'
2023-06-28 08:45:17:500 - [Appium] }
2023-06-28 08:45:17:500 - [Appium] }
2023-06-28 08:45:17:501 - [Appium] }
2023-06-28 08:45:17:501 - [Appium] Attempting to load driver espresso...
Im using the above mentioned yaml with your corrections
I have the following config yaml:
I get:
Am I doing something wrong here?
platform:android
seems fine...