diff --git a/brozzler/behaviors.yaml b/brozzler/behaviors.yaml index 2b6f72b..5723428 100644 --- a/brozzler/behaviors.yaml +++ b/brozzler/behaviors.yaml @@ -70,6 +70,7 @@ default_parameters: actions: - selector: a#get_more + - selector: a#get_more - # acalog https://webarchive.jira.com/browse/ARI-3775 url_regex: '^https?://.*[?&]catoid=[^?]*$' behavior_js_template: simpleclicks.js.j2 diff --git a/brozzler/js-templates/umbraBehavior.js.j2 b/brozzler/js-templates/umbraBehavior.js.j2 index 0cece1c..6ff51ef 100644 --- a/brozzler/js-templates/umbraBehavior.js.j2 +++ b/brozzler/js-templates/umbraBehavior.js.j2 @@ -101,6 +101,7 @@ class UmbraBehavior { console.log("ready for next action"); // untested! this.index += 1; this.idleSince = null; + window.scroll(0,0); } } }