Capgemini Interview Question

How to handle multiple windows?