private static void InjectJSEnvironment() { if (m_browser.PageIsLoaded()) { m_browser.ExecuteJavaScript(""); UpdateObjectsInBrowser(); } }