Too Long; Didn't Read
This article is an excerpt from my new book Java Web Scraping Handbook. The book will teach you the noble art of web scraping. From parsing HTML to breaking captchas, handling Javascript heavy website and many more. The book is available in this Github repository. We are using Selenium to run headless Chrome with Selenium. The goal of this article is only to show you how to run the headless mode. The next step is to perform a GET request to the Hacker News login form, select the username and password field, fill it with our credentials.