BS-9578: add waitUntil for th emain window