How to set windowsize to fullscreen for headlesschrome ...
· The problem is that headless mode is meant to be used on computers without screens, so there's no way for it to figure out what size your screen is even if you have one. The only way is for you to pass that information to the browser with windowsize. The default window size and display size in headless mode is 800x600 on all platforms. So the .