The Following snippet is most of the time used while working on Automation using WinAppDriver
-Pankaj Dhapola
Let's Think on it
driver
- RemoteWebDriver instance
System.Xml.XmlDocument doc = new System.Xml.XmlDocument();
doc.LoadXml(driver.PageSource.ToString());
System.Xml.XmlTextWriter writer =
new System.Xml.XmlTextWriter(@"c:\App_To_XML.xml",
new System.Text.UnicodeEncoding());
writer.Formatting = System.Xml.Formatting.Indented;
doc.WriteContentTo(writer);
-Pankaj Dhapola
Let's Think on it
1 comment:
Hi Pankaj, Does Winium driver support desktop applications having embedded HTML ? I mean desktop applications having web forms. For eg. Microsoft Crm Dynamics 365. Any help would be appreciated..
Post a Comment