undetected-chromedriver
undetected-chromedriver copied to clipboard
is there a way to load json cookies in nodriver? like in uc
is there a way to load json cookies in nodriver? like in uc
yes, but there is a bug in the code that you need to fix in order for the cookies to work, you can see the issue: https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues/1816
await browser.cookies.set_all(cookies)
is how you set the cookies
cookies = []
c = CookieParam(name='n',value='v',path='/',domain='google.com')
cookies.append(c)
cookies aren't JSON, you need to pass in the above list of CookieParam class
cookies aren't JSON, you need to pass in the above list of CookieParam class
What is CookieParam? Thanks.