Help needed to set Capabilities - Android

I am new to Appium. I am setting Capabilities through code for Android. I m stuck at devuceName capabilities:

Device Name - Is this capability accepts inputs like “Samsung Galaxy S7”? Will it accept device ID such as Serial Number as adb does? If it accepts only names as said earlier, what is the format for specifying the name?

The deviceName capability for Android is currently not used for anything useful when initiating a driver session. I usually just set it to “Android”.

1 Like