-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome window dimensions not obeyed #256
Comments
Command invocation is fine. We don't have much control over how it's handled from a gowitness perspective. The values are passed to the drivers as is. chromedp and gorod. Unrelated to this, but this line implies you have an outdated cdproto dependency. Make sure you have the latest gowitness.
|
I seem to:
Can I upgrade cdproto somehow? I didn't compile gowitness from source, I'm just using the binary release from GH. |
Not without a recompilation. I bumped the deps now, will land in a next release in the future. |
I compiled from source but the image is still 500x501:
Do you have any tips? I know this might be something with the driver, but I'm stuck. |
I don't. Like I mentioned, this is passed to the driver. It will require deeper digging into the implementation to debug. That said, it does seem to honour it somewhat, just not exactly as expected. |
Thank you, I'm looking into this. Is there any way to see which driver executable gowitness is using? Then I'll know where to look. |
|
This comment was marked as spam.
This comment was marked as spam.
@AiPals please don't post LLM generated content here. The relevant dependency has already been updated and will land in a next release. |
I'm not sure if it's relevant of helpful, but I had previously been using the 11ty screenshot capture tool here. I'm generating social cards for link previews, and the dimension and aspect ratio requirements there are quite strict, as well as needing to make sure I capture the full page and avoid any cropping. I haven't dug into what's happening in the backend there, but the opengraph size has always managed to render the exact size needed. I'm trying gowitness though as caching and timeout issues mean it's just easier to spin up a container and do locally. For now at least I can use |
I'm trying the following command on version 3.0.5:
But the result is 500x501 pixels:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: