Is it possible to run Google Chrome in headless mode with extensions? : <p>I cannot use my currently installed extensions in Google Chrome using headless mode. Is there any way to enable them?</p>

<p>An easy way to check if the extensions work is by adding, for example, the "<a href="https://chrome.google.com/webstore/detail/comic-sans-everything/oaehjhfpohkdjkpcdbblepomnflojfli?utm_source=chrome-app-launcher-info-dialog" rel="noreferrer">Comic Sans Everything</a>" extension.</p>

<p>So Google looks like that:</p>

<p><a href="https://i.stack.imgur.com/osjWy.png" rel="noreferrer"><img src="https://i.stack.imgur.com/osjWy.png" alt="Google looks beautiful"></a></p>

<p>However, if I take a screenshot of the page using the headless mode (<code>google-chrome --headless --disable-gpu --screenshot https://www.google.com</code>), the result is:</p>

<p><a href="https://i.stack.imgur.com/gDeHq.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gDeHq.png" alt="Google in headless mode"></a></p>
