-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Bug: When screenshotting a very long element, text at the bottom of the image is saved with a black background #2133
Comments
For me only the very last line, which is the footer, is not getting a background. Is that what you mean? I do not see 4 rows. Does the screenshot work when you only screenshot this particular element? If you could test that I would appreciate. Thanks! |
I can see that now as well. The internal print as PDF feature of Firefox doesn't seem to produce that. Interesting is that we basically use the exact same API for it. Would you mind to maybe reduce this very huge test case? It would be much easier to investigate or point to a specific known bug when the HTML / CSS would be minimized. |
I can, but give me a few days. There seem to be more text-related problems when it comes to long pages, such as incompletely rendered text (see the "Exen is legi?" entry on the left), and also text not appearing at all on very long pages. I can't tell if this is a problem with the Geckodriver, or maybe just due to rendering taking so long for the browser, and me waiting not long enough to take a screenshot (?), or maybe something related to the full view not being always rendered for efficiency, which then causes elements to be missing in the screenshot. |
Sure no worries. It most likely wont be a priority right now for geckodriver, but in case its a bug in Gecko itself we could more easily find a solution then. Thanks! |
@void4 I wanted to check back if you had a chance to find / create a minimized testcase for this scenario. If not we may have to work with the full page to figure out what's wrong. Thanks. |
No, not yet - I'm currently focusing on other things, so this isn't a priority for me, though it would be nice to see a solution |
System
Problem
When taking a screenshot of a very long (vertically large) element on a page (e.g. https://icebergcharts.com/i/The_Complete_Geometry_Dash?watermark=true), text at the bottom of the page gets a black background in the image that isn't there on the original page. Note that in this case this only affects four "rows" at the very bottom of the page.
Testcase
The text was updated successfully, but these errors were encountered: