-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Unable to Access Certain UI Elements on Windows 11 #2044
Comments
Are the elements visible in inspect.exe ? |
I used Accessibility Insights but here the thing is when I click on the start button the menu appears but they don't show the icons inside I mean it is empty but when I click on the Pinned or the Recommended it will show the list of icons inside those sections similar for the notepad case. |
Check with inspect.exe |
I tried Inspect.exe and same like Accessibility Insights when I press the start button at that I can't see nothing inside the start menu in the inspect.exe but when I click on near regions of pinned or recommended then those icons will show in the inspect.exe |
That is how inspect works. |
My use case is to create an accessibility tree. When we click on the Start menu, we need to get all the icons inside the Start menu. Can we do that with WinAppDriver? Similarly, if I am automating the Notepad workflow when I click on the file menu, I need to get the buttons in that dropdown to automate. Thank you for replying so far. 😊 |
yes its possible just use the xpath locator with * or get it in a list with classname. ele = driver.findelementbyname("filemenu") |
If you don't mind could you please guide me how to use the driver if possible could you plz share the code to load the driver |
from appium import webdriver Desired capabilities for Windows desktop automationdesired_caps = { Initialize the WebDriver with the desired capabilitiesdriver = webdriver.Remote( Get and print window handlesprint(driver.window_handles) Quit the driver after usedriver.quit() this is a simple version which I used for now but I have an error it saying |
Could you please tell me which version of appium windows client is used |
I am currently using the
uiautomation
library on Windows 11 to automate tasks and interact with UI elements. However, I am facing significant limitations when attempting to access certain UI elements. Specifically:Start Menu:
Dropdown Menus:
I am exploring alternatives and came across WinAppDriver. Before diving deeper, I wanted to confirm:
Environment Details:
uiautomation
(current solution)I would appreciate any insights or suggestions about whether WinAppDriver can take care of these limitations or if there are other ways to access these elements.
The text was updated successfully, but these errors were encountered: