microsoft / WinAppDriver

Windows Application Driver
MIT License
3.66k stars 1.4k forks source link

WinAppDriver V1.2-FindElementsByXpath is returning null #1031

Open Sneha2288 opened 4 years ago

Sneha2288 commented 4 years ago

When using FindElementsByXpath,the elements are not being returned,It returns null. However,when used FindElementByXpath,the first element found is being returned.

hassanuz commented 4 years ago

Hi @Sneha2288 Sneha2288, are you using the the following capability:

appCapabilities.SetCapability("ms:experimental-webdriver", true);

I would recommend toggling it on or off and seeing if the issue persists.