I had a lot of issues with Selenium working in headless mode. So, I added these options to my ChromeOptions object:
- --proxy-server='direct://'
- --proxy-bypass-list=*
- --disable-dev-shm-usage
- --disable-browser-side-navigation
I saw that it helped the Selenium work faster and give better results in the headless mode, but I don't understand the real meaning of each option. What does each option does?