Video with script

There are articles and github for making screen tutorial video with script.


Does anyone ever use it?
I tried that but is not successfully run the script. It only open the browser and login. after that it is disconnected and stops the process.

Is it still valid for version 12 up?
If not, what is needed to adjust it?

Thank you.