Create a shell, that records all user-interactions, and then transform into an automation using pExpect module.