NXP-13652: use wait to generate screenshots