mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-10 16:49:41 -04:00
feat: add behavior status response to logging
This commit is contained in:
parent
eb922f5155
commit
f12451be01
1 changed files with 6 additions and 0 deletions
|
@ -807,6 +807,12 @@ class Browser:
|
|||
lambda: self.websock_thread.received_result(msg_id), timeout=5
|
||||
)
|
||||
msg = self.websock_thread.pop_result(msg_id)
|
||||
|
||||
self.logger.info("Behavior status is %s", str(msg))
|
||||
# Behavior response while still running
|
||||
# {'id': 8, 'result': {'result': {'type': 'boolean', 'value': False}}}
|
||||
# Behavior response when finished
|
||||
# {'id': 9, 'result': {'result': {'type': 'boolean', 'value': True}}}
|
||||
if (
|
||||
msg
|
||||
and "result" in msg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue