The configured vertical resolution in main.py is not exactly applied to the downloaded image. Window size includes title and search bar, so the actual viewport size is reduced. See this link. It talks about Firefox but the same happens for Chrome.
For example, setting 1600px height is reduced to 1513px in my case. I have used Chrome "application mode" to avoid this issue.
The configured vertical resolution in
main.py
is not exactly applied to the downloaded image. Window size includes title and search bar, so the actual viewport size is reduced. See this link. It talks about Firefox but the same happens for Chrome.For example, setting 1600px height is reduced to 1513px in my case. I have used Chrome "application mode" to avoid this issue.