appium / appium

Cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol
http://appium.io/
Apache License 2.0
18.63k stars 6.05k forks source link

Conflicting definitions #17471

Closed shlomobraverman closed 1 year ago

shlomobraverman commented 1 year ago

The problem

If I use the enableMultiWindows setting together with the disableSuppressAccessibilityService setting, somehow appium fails to recognize elements of the XPath or accessibility id type

Environment

Details

When I remove the setting enableMultiWindows everything works as expected

mykola-mokhnach commented 1 year ago

Page source generation is controlled by UiAutomator framework. I don't think there is anything that could be done in the client code

shlomobraverman commented 1 year ago

I do not understand you. When two options are used together, Appium fails to recognize elements during execution

mykola-mokhnach commented 1 year ago

Appium is just a proxy. Elements location is done by Google's UiAutomator framework and the client code for it is in https://github.com/appium/appium-uiautomator2-server

Please let us know if you find any issue in that code that might help to resolve the above issue

mykola-mokhnach commented 1 year ago

Closed as third party issue