Refs #482: casper.viewport should wait after repaint
Refs #482: casper.viewport should wait after repaint

Since setting the viewport forces a redraw of the
rendering, in an asynchronous manner, it should wait a bit of time.
At least SlimerJS needs this delay to redraw its window.

dj31416/casperjs,jamesanthonyferguson/casperjs,PeterWangPo/casperjs,Andrey-Pavlov/casperjs,cryptoquick/casperjs,mcwonka/casperjs,davidwhthomas/casperjs,singhdev/casperjs,RobertoMalatesta/casperjs,n1k0/casperjs,sircelsiussexy/casperjs,artillery/casperjs,joshuafcole/casperjs,jamesanthonyferguson/casperjs,artillery/casperjs,ravindrasingh22/casperjs,JZL/casperjs,linkedin/casperjs,hexid/casperjs,istr/casperjs,joshuafcole/casperjs,pbrazdil/casperjs,Andrey-Pavlov/casperjs,artillery/casperjs,n1k0/casperjs,joshuafcole/casperjs,RobertoMalatesta/casperjs,hexid/casperjs,vietch2612/casperjs,HienLeThi/Casperjs_Demo,muntasir2000/casperjs,ravindrasingh22/casperjs,istr/casperjs,cryptoquick/casperjs,kyroskoh/casperjs,linkedin/casperjs,muntasir2000/casperjs,pbrazdil/casperjs,hlr1983/casperjs,soundyogi/casperjs,hexid/casperjs,alexbiehl/casperjs,singhdev/casperjs,jjyycchh/casperjs,JZL/casperjs,vladikoff/casperjs,cryptoquick/casperjs,mickaelandrieu/casperjs,jjyycchh/casperjs,mcwonka/casperjs,vladikoff/casperjs,linkedin/casperjs,pbrazdil/casperjs,ravindrasingh22/casperjs,hudl/casperjs,PeterWangPo/casperjs,istr/casperjs,dj31416/casperjs,muntasir2000/casperjs,jjyycchh/casperjs,vietch2612/casperjs,ravindrasingh22/casperjs,jjyycchh/casperjs,joshuafcole/casperjs,pbrazdil/casperjs,jefleponot/casperjs,mickaelandrieu/casperjs,PeterWangPo/casperjs,soundyogi/casperjs,hudl/casperjs,ravindrasingh22/casperjs,davidwhthomas/casperjs,jefleponot/casperjs,JZL/casperjs,vladikoff/casperjs,davidwhthomas/casperjs,jamesanthonyferguson/casperjs,casperjs/casperjs,jamesanthonyferguson/casperjs,hexid/casperjs,vladikoff/casperjs,mcwonka/casperjs,sircelsiussexy/casperjs,JZL/casperjs,n1k0/casperjs,mcwonka/casperjs,soundyogi/casperjs,mcwonka/casperjs,alexbiehl/casperjs,kyroskoh/casperjs,joshuafcole/casperjs,cryptoquick/casperjs,vietch2612/casperjs,mickaelandrieu/casperjs,RobertoMalatesta/casperjs,hudl/casperjs,flyHe/casperjs,artillery/casperjs,kyroskoh/casperjs,kyroskoh/casperjs,jjyycchh/casperjs,vietch2612/casperjs,RobertoMalatesta/casperjs,hudl/casperjs,mickaelandrieu/casperjs,PeterWangPo/casperjs,casperjs/casperjs,davidwhthomas/casperjs,hlr1983/casperjs,HienLeThi/Casperjs_Demo,istr/casperjs,HienLeThi/Casperjs_Demo,n1k0/casperjs,Andrey-Pavlov/casperjs,Andrey-Pavlov/casperjs,pbrazdil/casperjs,davidwhthomas/casperjs,flyHe/casperjs,hlr1983/casperjs,muntasir2000/casperjs,soundyogi/casperjs,HienLeThi/Casperjs_Demo,kyroskoh/casperjs,hlr1983/casperjs,jefleponot/casperjs,alexbiehl/casperjs,muntasir2000/casperjs,dj31416/casperjs,singhdev/casperjs,linkedin/casperjs,jamesanthonyferguson/casperjs,linkedin/casperjs,kyroskoh/casperjs,flyHe/casperjs,mickaelandrieu/casperjs,flyHe/casperjs,jefleponot/casperjs,hlr1983/casperjs,artillery/casperjs,sircelsiussexy/casperjs,hexid/casperjs,jjyycchh/casperjs,pbrazdil/casperjs,Andrey-Pavlov/casperjs,alexbiehl/casperjs,singhdev/casperjs,davidwhthomas/casperjs,casperjs/casperjs,vietch2612/casperjs,linkedin/casperjs,ravindrasingh22/casperjs,sircelsiussexy/casperjs,casperjs/casperjs,HienLeThi/Casperjs_Demo,jefleponot/casperjs,dj31416/casperjs,JZL/casperjs,artillery/casperjs,joshuafcole/casperjs,alexbiehl/casperjs,flyHe/casperjs,mcwonka/casperjs,hudl/casperjs,dj31416/casperjs,hlr1983/casperjs,Andrey-Pavlov/casperjs,casperjs/casperjs,alexbiehl/casperjs,cryptoquick/casperjs,singhdev/casperjs,mickaelandrieu/casperjs,dj31416/casperjs,muntasir2000/casperjs,RobertoMalatesta/casperjs,sircelsiussexy/casperjs,sircelsiussexy/casperjs,jefleponot/casperjs,soundyogi/casperjs,istr/casperjs,flyHe/casperjs,PeterWangPo/casperjs,n1k0/casperjs,RobertoMalatesta/casperjs,vietch2612/casperjs,casperjs/casperjs,n1k0/casperjs,hexid/casperjs,HienLeThi/Casperjs_Demo,PeterWangPo/casperjs,jamesanthonyferguson/casperjs,cryptoquick/casperjs,istr/casperjs,soundyogi/casperjs,JZL/casperjs,vladikoff/casperjs