Usually I use the DownThemAll! plugin for Firefox when I come across a website from which I want to download a lot of files at ones.
However, I am now confronted with the task to click on all links on a website which fulfill a certain requirement (in this case: having the word "cart" in the link text for example). This would then add items to a "shopping cart" on this website from which I can easily download files.
Does anybody know a plugin which is capable of doing this? I would want to list the requirements (link text, link image, etc.) for the links to be clicked and the plugin should handle the rest.
I have already fooled around with the DownThemAll! AntiContainer plugin, however, this would only be helpful if I wanted to directly download the files behind the aforementioned links. I really just want certain links that I specify to be clicked on.
Any help is really appreciated!
Edit: I had a look at Selenium for a few hours, but I am unable to get the things done I am looking for. It seems that I am not able to identify any link, css or whatever with regular expression (I always get errors that the locator I am looking for is not found).
<tr> <td>verifyText</td> <td>regexp:.*clicking.*</td> <td></td>
is not found on this page for example.
Even if I would be able to let Selenium click a certain link for me, how would I automate it for all the links the fulfill my requirements? It seems that only the first match for a certain target specification is found by Selenium!?