How to close the whole browser window by keeping the webDriver active?
<p>In my batch execution, multiple browsers with multiple tabs are getting opened for first scenario. I wanted to close all these browsers before starting second scenario. </p>

<p><code>Driver.close()</code> is just closing one tab of the browser.
<code>Driver.quit()</code> is closing all the browsers and also ending the <code>WebDriver</code> session. So , am unable to run the batch execution. Please provide a solution for this.</p>