- Joined
- Apr 12, 2020
- Messages
- 9
- Reaction score
- 0
- Achievement
Dear All,
I need your support!
I created a webpage with a list of links that I'd like to click automatically with a macro.
This is the link to the webpage: http://wowappitalia.it/aparat/aparat-directory.html
and this is the macro that I created:
ResizeTo (1920, 1280);
await WaitForLoading();
await Delay(Random (3000, 5000));
for (var i = 0; i < 2224; {
await Delay(Random (10, 30));
ScrollTo (0, );
i += 40;
}
await Delay(Random(5000,5000));
await ClickByXpath(GenerateXpath("a", "href", "https://aparat.cam%"));
await WaitForLoading();
await Delay(Random (5000, 10000));
ClickByCoordinates (593, 506, 673, 560, 1);
await Delay(Random (5000, 10000));
ClickByCoordinates (593, 506, 673, 560, 1);
await Delay(Random (5000, 10000));
ClickByCoordinates (593, 506, 673, 560, 1);
I expect that after the page is loaded and after there is a scroll down and scroll up, a random link starting with "https://aparat.cam" will be clicked, but this will not happen.
Can you tell me where I'm wrong?
Thank you in advance!
I need your support!
I created a webpage with a list of links that I'd like to click automatically with a macro.
This is the link to the webpage: http://wowappitalia.it/aparat/aparat-directory.html
and this is the macro that I created:
ResizeTo (1920, 1280);
await WaitForLoading();
await Delay(Random (3000, 5000));
for (var i = 0; i < 2224; {
await Delay(Random (10, 30));
ScrollTo (0, );
i += 40;
}
await Delay(Random(5000,5000));
await ClickByXpath(GenerateXpath("a", "href", "https://aparat.cam%"));
await WaitForLoading();
await Delay(Random (5000, 10000));
ClickByCoordinates (593, 506, 673, 560, 1);
await Delay(Random (5000, 10000));
ClickByCoordinates (593, 506, 673, 560, 1);
await Delay(Random (5000, 10000));
ClickByCoordinates (593, 506, 673, 560, 1);
I expect that after the page is loaded and after there is a scroll down and scroll up, a random link starting with "https://aparat.cam" will be clicked, but this will not happen.
Can you tell me where I'm wrong?
Thank you in advance!
Last edited: