forked from webrecorder/browsertrix-behaviors
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements for running in interactive mode in browser (webrecorder#6)
improvements for interactive use in browser * twitter: remove 'threads' state, better state labels - support unpause on second run() call * autoscroll improvements: - better messages, use timing based on waitUnit - smoother scrolling, increments of 200px - look for 'show more' button and click if in viewport (add isInViewport() utility func) - wait for window height change after clicking show more - track 'segments' state when window height changes - increase total wait time for window height increase with more segments * instagram: enable first post preloading standalone view w/o opening separate window
- Loading branch information
Showing
12 changed files
with
200 additions
and
113 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{"msg":"Scrolling by 250"} | ||
{"msg":"Scrolling by 250"} | ||
{"msg":"Scrolling by 250"} | ||
{"msg":"Scrolling by 250"} | ||
{"msg":"Scrolling by 250"} | ||
{"msg":"Scrolling by 250"} | ||
{"msg":"done!"} | ||
{"state":{"segments":1},"msg":"Scrolling down by 200 pixels every 0.2 seconds"} | ||
{"state":{"segments":1},"msg":"Scrolling down by 200 pixels every 0.2 seconds"} | ||
{"state":{"segments":1},"msg":"Scrolling down by 200 pixels every 0.2 seconds"} | ||
{"state":{"segments":1},"msg":"Scrolling down by 200 pixels every 0.2 seconds"} | ||
{"state":{"segments":1},"msg":"Scrolling down by 200 pixels every 0.2 seconds"} | ||
{"state":{"segments":1},"msg":"Scrolling down by 200 pixels every 0.2 seconds"} | ||
{"state":{"segments":1},"msg":"Scrolling down by 200 pixels every 0.2 seconds"} | ||
{"state":{"segments":1},"msg":"done!"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
{"state":{"posts":0,"slides":0,"comments":0,"rows":0},"msg":"Opening new window for first post: /p/CMtilvmsXzm/"} | ||
{"state":{"posts":0,"slides":0,"comments":0,"rows":1},"msg":"Loading Row"} | ||
{"state":{"posts":1,"slides":0,"comments":0,"rows":1},"msg":"Loading Post: https://www.instagram.com/p/CMtilvmsXzm/"} | ||
{"state":{"posts":1,"slides":1,"comments":0,"rows":1},"msg":"Loading Slide 2 for https://www.instagram.com/p/CMtilvmsXzm/"} | ||
{"state":{"posts":1,"slides":2,"comments":0,"rows":1},"msg":"Loading Slide 3 for https://www.instagram.com/p/CMtilvmsXzm/"} | ||
{"state":{"posts":1,"slides":2,"comments":3,"rows":1},"msg":"Loaded Comments"} | ||
{"state":{"posts":2,"slides":2,"comments":3,"rows":1},"msg":"Loading Post: https://www.instagram.com/p/CMqnzk-Mx7e/"} | ||
{"state":{"posts":2,"slides":2,"comments":5,"rows":1},"msg":"Loaded Comments"} | ||
{"state":{"posts":3,"slides":2,"comments":5,"rows":1},"msg":"Loading Post: https://www.instagram.com/p/CMqnVXZsfXR/"} | ||
{"state":{"posts":3,"slides":2,"comments":5,"rows":1},"msg":"done!"} | ||
{"state":{"posts":0,"slides":0,"rows":0,"comments":0},"msg":"Loading single post view for first post: /p/CMtilvmsXzm/"} | ||
{"state":{"posts":0,"slides":0,"rows":1,"comments":0},"msg":"Loading Row"} | ||
{"state":{"posts":1,"slides":0,"rows":1,"comments":0},"msg":"Loading Post: https://www.instagram.com/p/CMtilvmsXzm/"} | ||
{"state":{"posts":1,"slides":1,"rows":1,"comments":0},"msg":"Loading Slide 2 for https://www.instagram.com/p/CMtilvmsXzm/"} | ||
{"state":{"posts":1,"slides":2,"rows":1,"comments":0},"msg":"Loading Slide 3 for https://www.instagram.com/p/CMtilvmsXzm/"} | ||
{"state":{"posts":1,"slides":2,"rows":1,"comments":1},"msg":"Loaded Comments"} | ||
{"state":{"posts":2,"slides":2,"rows":1,"comments":3},"msg":"Loading Post: https://www.instagram.com/p/CMqnzk-Mx7e/"} | ||
{"state":{"posts":2,"slides":2,"rows":1,"comments":4},"msg":"Loaded Comments"} | ||
{"state":{"posts":3,"slides":2,"rows":1,"comments":5},"msg":"Loading Post: https://www.instagram.com/p/CMqnVXZsfXR/"} | ||
{"state":{"posts":3,"slides":2,"rows":1,"comments":6},"msg":"Loaded Comments"} | ||
{"state":{"posts":3,"slides":2,"rows":1,"comments":6},"msg":"done!"} |
Oops, something went wrong.