Make setup_browser return instead of setting on self