licanhua / YWinAppDriver

A open source project provides WinAppDriver compatible functionality
MIT License
49 stars 10 forks source link

Add support for winui3 #29

Closed Gitii closed 2 years ago

Gitii commented 2 years ago

Hi,

I had trouble using this package with my winui3 app. It looks like Microsoft.Windows.Apps.Test doesn't support winui 3 apps (but only true uwp apps). I added a workaround which works for me.

Gitii commented 2 years ago

I reimplemented by previous workaround and replaced the previous UAPApp usage with my own code. It handels both uwp and winui apps, including support for arguments. These will be passed as activation args. Of course, command line activation can be done separatly (the "legacy" route) but that's a separate kind of activation.

licanhua commented 2 years ago

@Gitii Your change is released to https://github.com/licanhua/YWinAppDriver/releases/tag/v0.2.107.0