added close_the_browser method