Current time: 10-16-2019, 10:42 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can we script scrolling on the page?
04-08-2013, 04:14 PM
Post: #1
How can we script scrolling on the page?
Some of the pages I test happen to kick in the image load among other things when I scroll down. However WPT video shows only the top front.

In particular, this affects retail sites where the catalog loads.

I was thinking of exec window.scrollBy but was wondering if there are other alternatives that folks here use to script scrolling down
Find all posts by this user
Quote this message in a reply
04-09-2013, 01:33 AM
Post: #2
RE: How can we script scrolling on the page?
That's pretty much what I have done any time I needed to do it. The thing that usually gets a bit tricky is to get WPT to continue the measurement while you're doing the scrolling (usually a combination of combineSteps and execAndWait) because it wasn't originally built to record video of arbitrary page interactions.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)