Hi, I’ve been experimenting for a couple of hours with the Firefox plugin of this tool and I’m quite overwhelmed about the opportunities…
My first exercise is to click the “thank you” button in a usenet board.
I mangaged to do this in a serial manner with a loop but it takes some time as I have to
wait 3-4s until the “tank you” button gets disabled so the next button is caught by the loop.
To speed things up, I want to click all buttons simultaneusly.
I found this post but it seems the OP wasn’t successful with that approach either.
The current blocking point is that xpath is finding only one occurence.
Here is my script so far:
{ "Name": "THX", "CreationDate": "2021-4-14", "Commands": [ { "Command": "bringBrowserToForeground", "Target": "", "Value": "" }, { "Command": "store", "Target": "1", "Value": "i" }, { "Command": "while_v2", "Target": "${i}<=10", "Value": "" }, { "Command": "click", "Target": "//table//*[text()[contains(.,\"Thank\")]][${i}]", "Value": "" }, { "Command": "executeScript_Sandbox", "Target": "return Number (${i})+1;", "Value": "i" }, { "Command": "end", "Target": "", "Value": "" } ] }
This is the usenet board I’m refering to:
https://house-of-usenet.com/showthread.php?tid=334416
Registration is free and can be done with one-time-mail-acc.
I can also provide site code if necessary.
I apreciate any assistance!
edit: I prepared a source-copy of the linked site but new users are not allowed to upload files…