Implements headless browser