private void Callback() { if (!timeout.Enabled) { return; } timeout.Stop(); browser.PauseNotification(); screenshot.TakeScreenshotAndHide(); browser.ResumeNotification(); }