appium-mac2-driver icon indicating copy to clipboard operation
appium-mac2-driver copied to clipboard

Documentation Request: Java Example Code in Using Appium Mac2 Driver

Open dmcgill50 opened this issue 4 years ago • 2 comments

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.

dmcgill50 avatar Sep 24 '21 20:09 dmcgill50

https://github.com/appium/java-client/pull/1439 is the original pr for Java client. I think you simply can:

  1. Set automation name as AutomationName.MAC2
  2. Set platform name as MobilePlatform.MAC
  3. Set an arbitrary bundleId capability

in order to establish a session.

KazuCocoa avatar Nov 03 '21 18:11 KazuCocoa

Wonderful. I will update here with results of my testing and then we can close. Thanks again!

dmcgill50 avatar Nov 03 '21 19:11 dmcgill50