Allow browser param to be passed in, added delete method, added tests