mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-22 16:39:07 -04:00
simple multi-selector test with window.scroll
This commit is contained in:
parent
ff08815fce
commit
19349702b9
@ -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
|
||||
|
@ -101,6 +101,7 @@ class UmbraBehavior {
|
||||
console.log("ready for next action"); // untested!
|
||||
this.index += 1;
|
||||
this.idleSince = null;
|
||||
window.scroll(0,0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user