Closed anuragphadke closed 5 years ago
Take a look at the fontsUpdated event. https://vanilla.aslushnikov.com/?CSS.fontsUpdated
It should be sent after enabling the page domain. Use createCDPSession in puppeteer instead of _client.
awesome. Thank you so much.
I want to understand what fonts are being used to render a page. Currently, I am doing the following:
This gives me a list of fonts that were used, however, I am looking for some more info:
Some of this information is available via DevTools -> Application -> Frames -> Top -> Fonts (screenshot attached).
Any idea how I can get this info via devtools-protocol?