GoogleChrome / rendertron

A Headless Chrome rendering solution
https://render-tron.appspot.com/
Apache License 2.0
5.94k stars 808 forks source link

Doesn't render my page #168

Closed invisible1988 closed 5 years ago

invisible1988 commented 6 years ago

Hello,

I try to integrate rendertron into our environment. But it returns only a blank page: https://render-tron.appspot.com/render/https://trusted.de/?wc-inject-shadydom=true

Is the services maybe timing out?

Best Paul!

hekod777 commented 6 years ago

Tested it on my own instance of rendertron. Got a blank page as well.

It doesn't seem like a timeout.

I got the rendering result in less than 10 seconds. No cache was involved.

LuisSousaRego commented 6 years ago

I have a similar issue in an Angular project. Only content on the index.html file is being rendered.

francisaguilar21 commented 6 years ago

Any updates here? I'm also experiencing the exact same thing. When I try to use Facebook's Scrapper and check what their scrapper sees, it's just blank. :/

ALSO, I tried doing this with the home page - the index.html - of my application, it works. It works just for the index page.

ohabash commented 5 years ago

anybody know how to make rendertron work for Facebook?

AVGP commented 5 years ago

Rendertron, as of today, is using Chromium 71. Support for Custom Elements v1 and Shadow DOM v1 first shipped in Chromium 76.

I'll take this issue as an opportunity to update the puppeteer version and thus the Chromium version.

AVGP commented 5 years ago

Okay, red herring. As Shadow DOM content is basically inaccessible to Rendertron, it needs to force a "Shady DOM" which isn't helping if there are no polyfills being loaded.

Unfortunately we don't have a better answer to this than: "Load the polyfill for shadow DOM" :/

Related: https://github.com/GoogleChrome/puppeteer/issues/4171