![]() |
How can we script scrolling on the page? - Printable Version +- WebPagetest Forums (https://www.webpagetest.org/forums) +-- Forum: Web Performance (/forumdisplay.php?fid=3) +--- Forum: Discuss Test Results (/forumdisplay.php?fid=4) +--- Thread: How can we script scrolling on the page? (/showthread.php?tid=12161) |
How can we script scrolling on the page? - pganti - 04-08-2013 04:14 PM 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 RE: How can we script scrolling on the page? - pmeenan - 04-09-2013 01:33 AM 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. |