O
O
onlinejunior2020-05-29 09:58:01
go
onlinejunior, 2020-05-29 09:58:01

How to get cookie values ​​from chrome browser in go?

You need to get the values ​​​​that JavaScript sets when you go to the site, and as I understand it, there is no other way but to use chrome - selenium.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Pavlyuk, 2020-05-29
@pav5000

There is no way in go itself, for this you need to emulate the behavior of the browser.
Selenium can be used, yes. You can also use PhantomJS, it's completely headless. True, it is no longer supported by developers, but it still works, as far as I know.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question