Change headless chrome to firefox? #695
Unanswered
Robot-Nachos
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It should work...
What is the observed behavior? An error? I think you should open a new issue so we can properly support Firefox. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible change out the headless chrome that asciidoctor-web-pdf uses for Firefox? I have a document that makes use of
-webkit-text-stroke
andpaint-order
is necessary to draw the outline behind the text, instead of in front of it. Chrome doesn't supportpaint-order
for HTML text correctly, but Firefox does. I haven't had any luck faking similar results using text shadows or similar methods.My understanding is that once you've enabled Firefox with
PUPPETEER_PRODUCT=Firefox yarn add puppeteer
you just need to add({ product: 'firefox' })
afterpuppeteer.launch
. I tried doing that in browser.js but no luck.Beta Was this translation helpful? Give feedback.
All reactions