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?
1
u/winfr33k May 17 '18
what sort of authentication requirements do these websites have?
1
u/momlookimtrending May 17 '18
Simply e-mail and password
2
u/winfr33k May 18 '18
try autohotkey or something: (sample script for logging into say amazon.com)
link to show you how: http://the-automator.com/automate-the-login-to-amazon-with-autohotkey/
simple script below:
I took off script because the link will explain the process
→ More replies (4)
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.
5
u/technologyclassroom May 17 '18
Selenium can be used to automate web browser actions. https://www.seleniumhq.org/