I am writing tests which creates multiple Appium drivers and single testNG test runs on multiple devices for messaging scenarios.
Now if test throws an exception, I need to know which driver throws exception so that i can capture the right screenshot.
Is there a way to find this?