[Python][Selenium]How to launch WebDriver with Headless Chrome

If you are going to use Selenium against a dynamic web site such as using Javascript, you should use Headless Chrome. However, it seems that there are no helpful instruction so far. So I’m going to explain how to launch WebDriver with Headless Chrome. Photo by Diego Molina (diemol) / CC BY-SA 4.0 Environment Mac OS Big Sur 11.1Python 3.8.3ChromeDriver 89.0.4389.23 ChromeDriver Official Sample Code I found the official sample code from ChromeDriver Official Site, however, there are no explanation about “Headless”. Here is the sample code cited from this site. Add options parameters What we have to do to launch with Headless Chrome is to add “options” parameters as following. Note … Read more