I am trying through code to close my browser (ie10) but it just wont work.
when this code runs count1 contains a count of 1, I then call close on the browser, count2 then contains a count 0, then I call dispose.
but the browser window never closes.
any idea?
int count1 = manager.Browsers.Count;browser.Close();int count2 = manager.Browsers.Count;//Shut-down the manager and do all clean-upmanager.Dispose();when this code runs count1 contains a count of 1, I then call close on the browser, count2 then contains a count 0, then I call dispose.
but the browser window never closes.
any idea?