I have a link i need to click. It changes locations everytime you load the page.
I take the DOM have worked it out to this.....
playlist_count is a number. How to I change this number "16" to c# or an int that will work with the standard cubes?
i
I take the DOM have worked it out to this.....
playlist_count is a number. How to I change this number "16" to c# or an int that will work with the standard cubes?
Код:
int number = project.Variables["playlist_count"].Value;
// Action designer, type RiseEvent
HtmlElement he = instance.ActiveTab.GetDocumentByAddress("0;_0;0").FindElementByAttribute("div", "class", "disableText", "regexp", number);
if (he.IsVoid) return -1;
// Emulation delay
instance.WaitFieldEmulationDelay();
// Call the event "click"
he.RiseEvent("click", instance.EmulationLevel);
i