mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-08 06:22:23 -04:00
Merge branch 'ARI-5379' into qa
This commit is contained in:
commit
011cdde7ce
2 changed files with 7 additions and 7 deletions
|
@ -453,11 +453,11 @@ class Browser:
|
|||
if on_screenshot:
|
||||
jpeg_bytes = self.screenshot()
|
||||
on_screenshot(jpeg_bytes)
|
||||
behavior_script, timeout_from_behavior = brozzler.behavior_script(
|
||||
behavior_script, behavior_timeout_custom = brozzler.behavior_script(
|
||||
page_url, behavior_parameters,
|
||||
behaviors_dir=behaviors_dir)
|
||||
if timeout_from_behavior > behavior_timeout:
|
||||
behavior_timeout = timeout_from_behavior
|
||||
if behavior_timeout_custom > behavior_timeout:
|
||||
behavior_timeout = behavior_timeout_custom
|
||||
self.run_behavior(behavior_script, timeout=behavior_timeout)
|
||||
if skip_extract_outlinks:
|
||||
outlinks = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue