BrowserFactory and tests implementation