Some changes for test case with browser.