Unable to run multiple test steps

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 Robot or human?
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()