Skip to content

selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: missing 'value' #5

Description

@seheon99
Traceback (most recent call last):
  File "C:\Users\seheon\Documents\GitHub\Network-Leader\auto-e-Class\main.py", line 6, in <module>
    with LoginSession() as login, LectureViewer(login) as viewer:
  File "C:\Users\seheon\Documents\GitHub\Network-Leader\auto-e-Class\lecture_viewer.py", line 29, in __enter__
    self.driver.add_cookie(
  File "C:\Python312\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 636, in add_cookie
    self.execute(Command.ADD_COOKIE, {"cookie": cookie_dict})
  File "C:\Python312\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 347, in execute
    self.error_handler.check_response(response)
  File "C:\Python312\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: missing 'value'
  (Session info: chrome=119.0.6045.200)
Stacktrace:
        GetHandleVerifier [0x004772A3+45731]
        (No symbol) [0x00402D51]
        (No symbol) [0x002F880D]
        (No symbol) [0x00368A6B]
        (No symbol) [0x00347FDC]
        (No symbol) [0x0035B7A2]
        (No symbol) [0x00347DD6]
        (No symbol) [0x003231F6]
        (No symbol) [0x0032439D]
        GetHandleVerifier [0x00780716+3229462]
        GetHandleVerifier [0x007C84C8+3523784]
        GetHandleVerifier [0x007C214C+3498316]
        GetHandleVerifier [0x00501680+611968]
        (No symbol) [0x0040CCCC]
        (No symbol) [0x00408DF8]
        (No symbol) [0x00408F1D]
        (No symbol) [0x003FB2C7]
        BaseThreadInitThunk [0x75FCFCC9+25]
        RtlGetAppContainerNamedObjectPath [0x76F37C6E+286]
        RtlGetAppContainerNamedObjectPath [0x76F37C3E+238]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions