Just a quick note for my future self 😄 When getting presented with a "basic auth" interface - etaoin (I don't think) has a way to target the username and password inputs or the submit/cancel buttons, because they're outside the interface window. This is easily bypassed with using the basic auth notation: https://user:pass@www.site-with-basic-auth.com ... anyone with a better way to do this - just shout!
Good idea. Maybe worth adding user and password parameters to the «go” function