Is there any way to do automation/repetition based on user input? Like iMacros in Windows, is there any way which can automate my task?

I had tried so many application like MacroDroid but hadn't got my aim to be complete. As I want similar work like iMacros, I want to open one link and then click some elements and then save the webpage to external storage and I want this task to repeat. Is it possible?
Try Repetitouch: https://play.google.com/store/apps/details?id=com.cygery.repetitouch.free

It Allows you to input a set of touches and swipes, and the app will repeat exactly what you have recorded.  You can also set stuff like delays, speed, or amount of repetitions.