How to find the Platform Name using appium? – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> How to find the Platform Name using ...

How to find the Platform Name using appium?



String PlatformName = driver.getPlatformName();
System.out.println(PlatformName);
PlatformName gives in which platform we want to run our appium script. Eg:-Android,Ios

Leave a Reply

Your email address will not be published. Required fields are marked *