Open ropeladder opened 4 months ago
Hey, do you mind trying this with the latest Great Tables release (v0.6.1), and seeing whether it works for you? We overhauled the .save()
method, and it looked okay on my machine (but I realize there's a lot of browser variation out there 😬 )
Still not working for me, using 0.9.0. (the output is nominally less garbage, as I can make out "S&P 500" but not really anything else)
Same Chromium and Ubuntu versions as above. Selenium v4.22.0.
Prework
Description
save()
to pdf gives junk output. The page looks like this in Okular:Reproducible example
save()
at the end)test.pdf
is the image posted aboveDevelopment environment
Additional context
(Yes, the Ubuntu and Chromium versions are old, it's at work and I can't do anything about it.)
Instead of Selenium could
great_tables
just usechromium-browser
directly if it's installed? I'm able to output the table as html and then send that directly throughchromium-browser --headless --print-to-pdf=output.pdf test.html
. I suppose Selenium is more helpful if users have a different browser installed, though.