DevTools listening on ws://127.0.0.1:61864/devtools/browser/2e3d1106-ac11-4e91-b353-6b6f97536b59
Proxie Connected
Traceback (most recent call last):
File "c:\Users\under\Desktop\Python\Web3\Selenium\Step7.py", line 42, in
with open(cookies_path, 'rb') as f:
^^^^^^^^^^^^
NameError: name 'cookies_path' is not defined
PS C:\Users\under\Desktop\Python\Web3\Selenium> & C:/Users/under/AppData/Local/Programs/Python/Python311/python.exe c:/Users/under/Desktop/Python/Web3/Selenium/Step7.py
DevTools listening on ws://127.0.0.1:60087/devtools/browser/80f695ff-b46e-405c-9624-e0cd6f2dd661
Proxie Connected
Traceback (most recent call last):
File "c:\Users\under\Desktop\Python\Web3\Selenium\Step7.py", line 45, in
driver.add_cookie(cookie)
File "C:\Users\under\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 635, in add_cookie
self.execute(Command.ADD_COOKIE, {"cookie": cookie_dict})
File "C:\Users\under\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 346, in execute
self.error_handler.check_response(response)
File "C:\Users\under\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: missing 'cookie'
(Session info: chrome=114.0.5735.199)
Stacktrace:
Backtrace:
GetHandleVerifier [0x0049A813+48355]
(No symbol) [0x0042C4B1]
(No symbol) [0x00335358]
(No symbol) [0x00399650]
(No symbol) [0x0037A73C]
(No symbol) [0x0038C922]
(No symbol) [0x0037A536]
(No symbol) [0x003582DC]
(No symbol) [0x003593DD]
GetHandleVerifier [0x006FAABD+2539405]
GetHandleVerifier [0x0073A78F+2800735]
GetHandleVerifier [0x0073456C+2775612]
GetHandleVerifier [0x005251E0+616112]
(No symbol) [0x00435F8C]
(No symbol) [0x00432328]
(No symbol) [0x0043240B]
(No symbol) [0x00424FF7]
BaseThreadInitThunk [0x76047D59+25]
RtlInitializeExceptionChain [0x778FB74B+107]
RtlClearBits [0x778FB6CF+191]
DevTools listening on ws://127.0.0.1:61864/devtools/browser/2e3d1106-ac11-4e91-b353-6b6f97536b59
Proxie Connected
Traceback (most recent call last):
File "c:\Users\under\Desktop\Python\Web3\Selenium\Step7.py", line 42, in
with open(cookies_path, 'rb') as f:
^^^^^^^^^^^^
NameError: name 'cookies_path' is not defined
PS C:\Users\under\Desktop\Python\Web3\Selenium> & C:/Users/under/AppData/Local/Programs/Python/Python311/python.exe c:/Users/under/Desktop/Python/Web3/Selenium/Step7.py
DevTools listening on ws://127.0.0.1:60087/devtools/browser/80f695ff-b46e-405c-9624-e0cd6f2dd661
Proxie Connected
Traceback (most recent call last):
File "c:\Users\under\Desktop\Python\Web3\Selenium\Step7.py", line 45, in
driver.add_cookie(cookie)
File "C:\Users\under\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 635, in add_cookie
self.execute(Command.ADD_COOKIE, {"cookie": cookie_dict})
File "C:\Users\under\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 346, in execute
self.error_handler.check_response(response)
File "C:\Users\under\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: missing 'cookie'
(Session info: chrome=114.0.5735.199)
Stacktrace:
Backtrace:
GetHandleVerifier [0x0049A813+48355]
(No symbol) [0x0042C4B1]
(No symbol) [0x00335358]
(No symbol) [0x00399650]
(No symbol) [0x0037A73C]
(No symbol) [0x0038C922]
(No symbol) [0x0037A536]
(No symbol) [0x003582DC]
(No symbol) [0x003593DD]
GetHandleVerifier [0x006FAABD+2539405]
GetHandleVerifier [0x0073A78F+2800735]
GetHandleVerifier [0x0073456C+2775612]
GetHandleVerifier [0x005251E0+616112]
(No symbol) [0x00435F8C]
(No symbol) [0x00432328]
(No symbol) [0x0043240B]
(No symbol) [0x00424FF7]
BaseThreadInitThunk [0x76047D59+25]
RtlInitializeExceptionChain [0x778FB74B+107]
RtlClearBits [0x778FB6CF+191]