Open NadeemBader opened 4 years ago
Hi
I'm trying to get the child elements of specific element using the code below, but seems that it returns the element itself.
var childElm = element.FindElementsByXPath(".//child::*");
I tried the following xpath too, but it doesn't help: "/*" Any suggestions how get all child elements?
Best Regards, Nadeem Bader
https://github.com/microsoft/WinAppDriver/issues/669#issuecomment-561897823 This works for our tests: e.FindElementsByXPath("*/*")
e.FindElementsByXPath("*/*")
Thank you - it works
Hi
I'm trying to get the child elements of specific element using the code below, but seems that it returns the element itself.
var childElm = element.FindElementsByXPath(".//child::*");
I tried the following xpath too, but it doesn't help: "/*" Any suggestions how get all child elements?
Best Regards, Nadeem Bader