Check XH.pageIsVisible
within whileAsync
#3532
Merged
XH.pageIsVisible
within whileAsync
#3532