Traceback (most recent call last):
File "C:\Users\im\Music\JDMemberCloseAccount\main.py", line 760, in
JDMemberCloseAccount().main()
File "C:\Users\im\Music\JDMemberCloseAccount\main.py", line 610, in main
self.browser.add_cookie(
File "C:\Program Files\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 894, in add_cookie
self.execute(Command.ADD_COOKIE, {'cookie': cookie_dict})
File "C:\Program Files\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Program Files\Python39\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.UnableToSetCookieException: Message: unable to set cookie
(Session info: headless chrome=98.0.4758.80)
chrome版本 98.0.4758.80(正式版本) (64 位),driver也是同一个版本。chrome是新安装的。