ultrafunkamsterdam / undetected-chromedriver

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
https://github.com/UltrafunkAmsterdam/undetected-chromedriver
GNU General Public License v3.0
9.98k stars 1.16k forks source link

[Nodriver]:There is a bug in browser.cookies.set_all() #1865

Open cbgz121 opened 6 months ago

cbgz121 commented 6 months ago

The cookies = await connection.send(cdp.storage.get_cookies()) line will cause the cookie passed in to be overwritten.

max32002 commented 6 months ago

in fact, nodriver not able to save cookies. https://github.com/ultrafunkamsterdam/nodriver/commit/5f5a78bdc54679f526e23c0b2bf8c9cc43614712