Replies: 1 comment
-
for anyone who is looking for this, this is how it's done:
notice every attribute has value wrapped with single quotes. for images, you need to use CSS to put the image as content to the element. No space or new lines. And this will work. Had to go through the puppeteer's official documentation to figure this out. |
Beta Was this translation helpful? Give feedback.
-
ideally, headerHTML function is supposed to accept some HTML with styling and render it at the top of the page..it is not doing anything like that at all. This is such a great library but the lack of this feature is ruining it. Ideally, it should do something like this:
Am I doing something wrong or this is really not working?
I already checked the other threads none of them actually provide any solutions or insights on why this isn't working?
Beta Was this translation helpful? Give feedback.
All reactions