how selenium webdriver maintains session.
for eg,wiyhout using webdriver, i have opened a browser and logged into gmail,then i closed browser without logging out. then again i opened the same browser and when i give the url,gmail.com,i am already logged into it.
with webdriver, i am not logged into gmail when i opened the second browser.
could somebody explain what is happening with webdriver.