appium / appium-mac2-driver

Next-gen Appium macOS driver, backed by Apple XCTest
Apache License 2.0
115 stars 24 forks source link

could i get the advice "capabilities" setting? #163

Closed dxhyun closed 1 year ago

dxhyun commented 1 year ago

hello,

I'm setting the capabilities as below and did "Start Session". but the correct XCUIElement is not visible in the app source.

It only "XCUIElementTypeWindow"

can i get advice that problem?

{ "platformName": "mac", "appium:automationName": "mac2", "appium:systemPort": "10110", "appium:systemHost": "127.0.0.1", "appium:showServerLogs": "false", "appium:serverStartupTimeout": "120000", "appium:bundleId": "com.keyplatform.test.superb", "appium:deviceName": "Mac" }

KazuCocoa commented 1 year ago

Perhaps https://discuss.appium.io/ also helps if someone had experience. This driver depends on XCTest framework, so one possible case is the app under test is not good for the XCTest framework like WebView or some frameworks.