appium / appium-mac2-driver

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

Support of multi windowed applications #255

Closed LykashevichAndrei closed 6 months ago

LykashevichAndrei commented 7 months ago

Hello, on my current SUT i need to test multi-windowed application. So, running i try to switch between current windows, and on the step when i retrieve window_handles i see error

UnknownCommandError: Unhandled endpoint: /session/8470FB2D-6F59-4B9F-AC10-78FE9208BF05/window/handles -- 
http://127.0.0.1:10100/ with parameters {
    wildcards =     (
        "session/8470FB2D-6F59-4B9F-AC10-78FE9208BF05/window/handles"
    );
}

looks like this functionality is not supported yet.

Can someone assist me here and find a workaround for that.

Appium + Mac2Driver + Python

MagdelineNg commented 6 months ago

Hi, did you find a workaround to detect the second window?

jonko0493 commented 5 months ago

@MagdelineNg all elements in multi-window applications are accessible through class chain rules! no need to switch between windows/dialogs