Removed the file write commmit as we already open the browser.