bistritapcv
5 years agoContributor
inner html
I am running a desktop operation, and it brings up an IE window. So I would like to get text from the IE window. I cannot do an inspect (F12) on it so I don't know all the fields, but I know for sure there is an html. So I did a
var browser = Connect.Sys["Process"]("iexplore", 900000);
var html = browser["FindChildByXpath"](".//html");
I am not sure what to do to get the text. These both compile and run, but they are either "var" object or "com" object.
Now that I (apparently) have the innerhtml, how do I get the text from it?
And to repeat this is a desktop test, which spawns an IE