Video with script

There are articles and github for making screen tutorial video with script.
https://erpnext.org/blog/technology/making-erpnext-help-videos-with-scripting

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.