Configuring the driver to close all the opened windows.