r/ScriptSwap • u/momlookimtrending • May 17 '18
Is there a way to create a script that automaticly enters a website, makes an action, logs out and again does it again with different credentials?
I'm playing a game and daily enter with my 2 accounts to take the daily bonus, is there a way to script it?
5
Upvotes
5
u/technologyclassroom May 17 '18
Selenium can be used to automate web browser actions. https://www.seleniumhq.org/
1
u/winfr33k May 17 '18
what sort of authentication requirements do these websites have?
1
u/philipnorton42 May 17 '18
Check out something like Behat or Codeception. They are technically unit testing tools, but it sounds like that's what you need. Both can run as curl agents or use browsers like chrome (via Selenium) or Phantom.js. Using a full browser is required if you need JavaScript support.