Greetings and salutations!
I'm working on a UI automation project for a windows desktop app (FrameworkId: Win32) Stack: Python (3.7) + Appium (1.15.1) + WinAppDriver (v1.1).
I have identified an element using Inspect.exe, but when I try to code, whatever I do I receive this error: selenium.common.exceptions.NoSuchElementException: Message: An element could not be located on the page using the given search parameters.
The locator strategy I'm using is xpath:
self.driver.find_element_by_xpath("//*[@LocalizedControlType='text' and @IsControlElement='false']")
As you can see, Inspect.exe has shown that it has the property "IsControlElement='false'
", but I cannot for the life of me "access" it via code.
I would also like to point out that any elements that had the IsControlElement='true'
are properly found and I can "interact" with them.
Thank you very much for your help!