schickling/chromeless

Google Fonts is not loaded

Open

#166 建立於 2017年8月3日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)TypeScript (606 fork)batch import
APIProxyhelp wantedquestion

倉庫指標

Star
 (13,240 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Hi, I have tested the chromeless with a page, and the fonts is not loading...

The screenshot is fine, but the fonts loaded for example with webfont loader, is not working...

This is the example:

const chromeless = new Chromeless({ remote: true, viewport: {width: 800, height: 1600} })

const screenshot = await chromeless
  .goto('https://www.genial.ly/View/Index/5901d777ba1ab76840eafbcc')
  .wait(5000)
  .screenshot()

console.log(screenshot)

await chromeless.end()

And this is the link, and you can check that the font is loaded in Chrome.

Any ideas? Thanks.

貢獻者指南