How to use the autoLogin plugin

:thinking:i was connfused when i watched the guide on the official website.
i dont know how to configure it.
i should add the sample to where?
and my case is that i need a sms code and picture code to login

here is the guide url :

I followed the guide and still don’t quite understand how it works. I added a ‘login’ function to the actor({}) object returned in the function in steps_file.js. I still just keep getting Object of type login is not defined in container

I think a more concrete example would be helpful here.

Scouring the net for answers as we speak