Add configurations for headless browser for travis