Documentation Request: Java Example Code in Using Appium Mac2 Driver
I have used the example code written in Javascript but now have a need to create a POV for an open-source project called OpenTest Framework. This framework is written using Java under the covers and has excellent tooling to run tests for Mobile, API, and Web App. I would like to add Mac Client and Windows Client(via selenium-appium). I see that there is sample code written in python and I would think it would be nice to see some boilerplate code using Java.
https://github.com/appium/java-client/pull/1439 is the original pr for Java client. I think you simply can:
- Set automation name as AutomationName.MAC2
- Set platform name as MobilePlatform.MAC
- Set an arbitrary
bundleIdcapability
in order to establish a session.
Wonderful. I will update here with results of my testing and then we can close. Thanks again!