mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 00:29:53 -05:00
log Page.interstitialShown
This commit is contained in:
parent
503771d653
commit
37c5720729
@ -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…
x
Reference in New Issue
Block a user