The difference is that in the container.html example the body itself has height:100%; and the container inside of it handles the overflow.
Is there a way to make splash render the complete site in that case? One workaround I figured was increasing the height of the virtual browser, but that only works in a few cases and is not reliable.
0 Votes
4 Comments
Sorted by
peixotoposted
over 4 years ago
Admin
Hi!
I can try to make a sample script. I'll update you as soon as I have a POC.
0 Votes
e
emaemaposted
over 4 years ago
Thanks for your help so far! Do you have any resource on hand how I could archive to capture the full height of the website with your proposed solution (the execution endpoint)?
0 Votes
peixotoposted
over 4 years ago
Admin
Hi again,
I ran some tests and could not work around this limitation using regular render.png or render.jpg endpoints.
My recommendation is that your try using the execute endpoint. Programatically you will have access to the page elements and you will be able to not only read elements attributes (like sizes), but also change them.
I want to render the full height of my page, but if the site contains an inline container it does not work.
0 Votes
4 Comments
peixoto posted over 4 years ago Admin
Hi!
I can try to make a sample script. I'll update you as soon as I have a POC.
0 Votes
emaema posted over 4 years ago
Thanks for your help so far! Do you have any resource on hand how I could archive to capture the full height of the website with your proposed solution (the execution endpoint)?
0 Votes
peixoto posted over 4 years ago Admin
Hi again,
I ran some tests and could not work around this limitation using regular render.png or render.jpg endpoints.
My recommendation is that your try using the execute endpoint. Programatically you will have access to the page elements and you will be able to not only read elements attributes (like sizes), but also change them.
With the hight at hand you can then resize the viewport to fit your needs: https://splash.readthedocs.io/en/stable/scripting-ref.html#splash-set-viewport-size
0 Votes
peixoto posted over 4 years ago Admin
Hi there!
I'll run some tests and try to reproduce the issue.
0 Votes
Login to post a comment