I need a simple script, that does the following for a controllable amount of times in a browser (firefox or chrome):
1. visit a website
2. click a specific target (this action will open a new tab that needs to be closed right away)
3. clear cache & cookies
4. start all over again with 1.
this series of actions needs to be fully controllable and needs to be looped for any desired amount of times.
no pre payment, full payment after successfull testing.