@rasputin don't waste your time with this fucking scumbag - xiaomi2022 legit waste so much time and gives excuses and never replies he takes ages and you're better off wasting your time with someone else
If you want to automate browsers in Gologin, you should use their API. The automation goes through a driver for headless browser like selenium or puppeter. You can find libraries for python and nodejs on official page.