fixed problem with browser.close in step defs