Should I include “platform”? How does platformName and platform differ?
I’ve already essentially given the node capabilities above. Each uses a json config file. I noticed that the Android test is trying to run on the IOS nodes, also.
My real issue was not including browserName in my tests’ capabilities. I wasn’t sure if it was required and contradicts some other documentation that says “app” and “browserName” are incompatible. However, when using grid, browserName is required to match with the proper node. After implementing that, I was getting an unrelated error found here:
Ah, that certainly is quite interesting. I use the Selenium standalone package, which uses the DefaultCapabilityMatcher by default. This matcher uses browserName as a criterion for matching, but only if it is present in the capabilities request; since my tests don’t specify browserName, I have not yet run into issues where browserName’s value matters.