Skip to content

Debugger.evaluateOnCallFrame error: Cannot find context with specified id #29

@malexmave

Description

@malexmave

When scanning marriott.com or southwest.com, the following error appears and the process hangs afterwards until you Ctrl+C out:

$ privacyscanner scan -m chromedevtools http://marriott.com
chromedevtools> 2020-03-10 11:12:53,578: [INFO] Starting chromedevtools (scanner.py:179)
/[redacted]/venv/lib/python3.6/site-packages/pychrome/tab.py:176: UserWarning: Debugger.evaluateOnCallFrame error: Cannot find context with specified id
  warnings.warn("%s error: %s" % (_method, result['error']['message']))
callback Debugger.paused exception
Traceback (most recent call last):
  File "/[redacted]/venv/lib/python3.6/site-packages/pychrome/tab.py", line 152, in _handle_event_loop
    self.event_handlers[event['method']](**event['params'])
  File "/[redacted]/privacyscanner/privacyscanner/scanmodules/chromedevtools/chromescan.py", line 472, in _cb_paused
    expression=EXTRACT_ARGUMENTS_JAVASCRIPT)['result']
  File "/[redacted]/venv/lib/python3.6/site-packages/pychrome/tab.py", line 177, in call_method
    raise CallMethodException("calling method: %s error: %s" % (_method, result['error']['message']))
pychrome.exceptions.CallMethodException: calling method: Debugger.evaluateOnCallFrame error: Cannot find context with specified id

Dependencies as in #27. Let me know what else I can provide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions