WebPagetest Forums
Unable to run multiple test steps - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: Unable to run multiple test steps (/showthread.php?tid=14239)



Unable to run multiple test steps - anilpothala - 03-12-2016 10:21 AM

Hi Guys,

I'm trying to run multiple test steps in single script as below. only first execAndWait got executed and remaining are not. can some one suggest why they are not run.?
i'm using chrome browser and iphone6 mobile simulator.

combineSteps
navigate http://www.walmart.com/search/?query=toddler%20toys&typeahead=toys&cat_id=0
sleep 10
execAndWait document.querySelector('ul.paginator-list>li:nth-child(2)>button').click()
sleep 10
execAndWait document.querySelector('ul.paginator-list>li:nth-child(1)>button').click()
sleep 10
execAndWait document.querySelector('ul.paginator-list>li:nth-child(2)>button').click()