microsoft / WinAppDriver

Windows Application Driver
MIT License
3.7k stars 1.41k forks source link

Couldn't access modal window/dialog that blocks main window #1889

Open erhan355 opened 1 year ago

erhan355 commented 1 year ago

I don't know it is the right place to report issue but I couldn't manage to close modal dialog.It may cause because of Appium / Selenium frameworks.If it is so please kindly close issue.

Up to now ,

I tried to grab object with xpath provided by WinAppDriverUIRecorder

I tried to find by modal's class name

I tried to locate root element and send escape key.

I tried to find pane by name

Tools and Packages Versions

.Net Framework 4.5.2

WinAppDriver v1.2.1

Appium.WebDriver 4.4.0

Selenium.WebDriver 3.141.0

image

image

anunay1 commented 1 year ago

What is shown in inspect, can you please provide more details? Also can you please check what you get when you do page source.