fixed several issues with browser in integration tests