How can you control order of how cmds are handled by Appium when shared by multiple plugins?
I somewhat expected it to handle the commands based on priority set in --use-plugins=plugin-a,plugin-b
, but from testing it seems like it handles them alphanumerically based on plugin name (although I did not look at code).
It may also be nice if you could handle commands differently… Say there are multiple plugins (call them A and B) that handle createSession
and deleteSession
(including Appium). I could see scenarios where you may want to explicitly make sure each command executes the command in a certain order (and maybe not the same).