uses phantom for browser testing