Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
malexmave opened this issue Mar 10, 2020 · 0 comments

Comments

@malexmave
Copy link
Contributor

malexmave commented Mar 10, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant