Hi guys,
I am trying to write a script in #C to click a random link on a website.
Steps:
1. find a link using FindElementByAttribiute("a","href","domain.com","regexp",0)
2. Move mouse using FullEmulationMouseMoveToHtmlElement
3. Click to the link using MouseClick
The only problem with step 1 is, that the script always finds the first element (0), but I need random.
Any suggestions?
P.S. I am not good with #C![;) ;-) ;-)](/discussion/xray_smailes/ad.gif)
I am trying to write a script in #C to click a random link on a website.
Steps:
1. find a link using FindElementByAttribiute("a","href","domain.com","regexp",0)
2. Move mouse using FullEmulationMouseMoveToHtmlElement
3. Click to the link using MouseClick
The only problem with step 1 is, that the script always finds the first element (0), but I need random.
Any suggestions?
P.S. I am not good with #C
![;) ;-) ;-)](/discussion/xray_smailes/ad.gif)