Added support for browser testing