webrecorder/behaviors

More specific infinite loader traversal insta, twitter, et. al.

N0taN3rd opened this issue · 4 comments

Is there more specific indicators that we are actually done loading all posts/tweets?

Twitter is more difficult than most best effort is knowing how many tweets a timeline has and tracking how many viewed

I guess it would be if there's some way to determine if at end of timeline, maybe there isn't anything that it sets in the dom that'd be apparent?

There's the 'Back to top' card that i think gets added, not sure if always or not.

The last time I checked Twitter adds the fail, done, loading markup to the dom at render time and makes them visible when appropriate.

The counting approach seems simplest + maybe a visibility check.