Reputation: 1
I have one little question. Can I get device parameters like UDID from appium when it's session is starting and pass it to my pom.xml? And if yes, how can I do that?
Upvotes: 0
Views: 716
Reputation: 675
You can use this in run-time:
driver.getCapabilities().getCapability("udid")
Upvotes: 0