use headless browser for testing