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.
@UserTrue именно заказчик кидалово. Раньше всех с ним договорился, разбирался в его задаче, сказали по рукам, а он тупо не выходит на связь. Сообщения читает, но не отвечает.