internal void SwitchToFrame(BrowserPageFrame frame) { PauseWebElementExplorerProcessing(); try { WebSpyBrowser.DestroyVisualSearch(); WebSpyBrowser.GoToFrame(frame); MyLog.Write("FRAME: Switched to frame with Index= " + frame.Index + "; and Full Name:" + frame.ToString()); } finally { ResumeWebElementExplorerProcessing(); } }