Added option to turn headless mode off for Firefox and Chrome