WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

WinAppDriver couldn't find the Adoner elements (Elements with IsContentElement=False, IsControlElement=False)

Open anatolysakhno opened this issue 2 years ago • 2 comments

FindElement(s) does not output any element with IsContentElement=False can WinAppDriver be changed to detect them?

anatolysakhno avatar May 24 '22 08:05 anatolysakhno

@anatolysakhno I am using the following code: AppiumWebElement.FindElementsByXPath("*/*[@IsContentElement='False']"); maybe you are doing something different?

liljohnak avatar May 24 '22 14:05 liljohnak

Thank you @liljohnak, I did not describe the issue properly. With your example I can only see the elements where IsControlElement=True and IsContentElement=False. The element I am looking for has both properties set to False. XPath I use: AppiumWebElement.FindElementsByXPath(".//*[@IsContentElement='False' and @IsControlElement='False']")

anatolysakhno avatar May 24 '22 17:05 anatolysakhno