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.
I have programmed nearly that exact bot, i can add some of your wished features.
Contact me via Mail zycry33@gmail.com
Then we can get in contact i can demonstrate my bot and we can negotiate the price.