kaliiiiiiiiii / Selenium-Driverless

undetected Selenium without usage of chromedriver
https://kaliiiiiiiiii.github.io/Selenium-Driverless/
Other
545 stars 66 forks source link

`driver.get_cookies()` is outdated. #167

Closed limtis0 closed 8 months ago

limtis0 commented 8 months ago

Calling driver.get_cookies() results in cdp_socket.exceptions.CDPError: {'code': -32601, 'message': "'Page.getCookies' wasn't found"}. The solution would be using Network instead of Page, I suppose.

https://chromedevtools.github.io/devtools-protocol/1-3/Network/#method-getCookies

kaliiiiiiiiii commented 8 months ago

use the newest version. Already patched it there.