mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-26 08:15:43 -04:00
log Page.interstitialShown
This commit is contained in:
parent
503771d653
commit
37c5720729
1 changed files with 5 additions and 0 deletions
|
@ -229,6 +229,11 @@ class WebsockReceiverThread(threading.Thread):
|
||||||
self.on_request(message)
|
self.on_request(message)
|
||||||
elif message['method'] == 'Debugger.paused':
|
elif message['method'] == 'Debugger.paused':
|
||||||
self._debugger_paused(message)
|
self._debugger_paused(message)
|
||||||
|
elif message['method'] == 'Page.interstitialShown':
|
||||||
|
# for AITFIVE-1529: handle http auth
|
||||||
|
# for now, we should consider killing the browser when we receive Page.interstitialShown and
|
||||||
|
# consider the page finished—-first we should figure out when else that event might happen
|
||||||
|
self.logger.info('Page.interstitialShown received')
|
||||||
elif message['method'] == 'Inspector.targetCrashed':
|
elif message['method'] == 'Inspector.targetCrashed':
|
||||||
self.logger.error(
|
self.logger.error(
|
||||||
'''chrome tab went "aw snap" or "he's dead jim"!''')
|
'''chrome tab went "aw snap" or "he's dead jim"!''')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue