I want browser auto exit browser when timeout.
I was debugging it show correct in my mind. But when to run the application, I don't know it does not exit browser after waiting_timeout
seconds.
My code like:
int waiting_timeout = 60;
_tmExcute = DateTime.Now;
// Do any thing
if ((DateTime.Now - _tmExcute).TotalSeconds > waiting_timeout)
{
ExitALL(); // exit browser.
}