I'm trying to automate a webpage using code.
I've tried to use "Record & Play", but it didn't work well for me, because this website is using different ids for each session.
This is the code I'm trying to imitate:
pseudo code:
Code: Select all
var document = OpenBrowser("cnn.com", "chrome");
var elements = document.getElementsByTagName("input");
Code: Select all
int procssID = Host.Local.OpenBrowser("cnn.com", "chrome", "", false, false);
When I tried to use:
Code: Select all
Host.Local.Find<WebDocument>("/dom");
Is there any way at all to do it ?
Thanks for any help.
Regards,
JD.