added 'browser' option, primarily for testing purposes but could be
useful for other reasons too.
Confirmed to work with firefox, chrome, safari on py2.7