Automating login

We need to automate login process , where we store client user name & password , once user clicks login it should automatically login & go to the TOTP page.
Do u have any such API / work around?
    It is mandatory by the exchange that a user has to login manually at least once in a day. We don't recommend automating login.
This discussion has been closed.