Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elements inside SWTCanvasView are not accessible #325

Open
PiotrNestor opened this issue Jan 3, 2025 · 1 comment
Open

Elements inside SWTCanvasView are not accessible #325

PiotrNestor opened this issue Jan 3, 2025 · 1 comment
Labels
question Further information is requested

Comments

@PiotrNestor
Copy link

Details:
MacOS: Sonoma 14.6.1
Appium v2.13.1
Mac2Driver v1.20.4

The application under test uses 'Tab Group' (XCUIElementTypeTabGroup) that is SWTCanvasView according to MacOS 'Accessibility Inspector'. No elements inside the 'canvasview' are visible / available to the Mac2Driver. The Elements properties (inside the 'canvasview') are accessible to the MacOS 'Accessibility Inspector' but not the the 'Appium Inspector'.

Is this a know issue?

@KazuCocoa
Copy link
Member

Can the elements be accessible via XCTest? Appium mac2 driver depends on https://developer.apple.com/documentation/xctest. It could have cases that via Accessibility Inspector is accessible but not via the XCTest framework. Your case could indicate the case. Potentially, such an element can be accessible by adding https://developer.apple.com/documentation/uikit/uiaccessibilityidentification/accessibilityidentifier explicitly to the element, for example.

@KazuCocoa KazuCocoa added the question Further information is requested label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants