# Chrome 59 headless support

**URL:** <https://meta.discourse.org/t/chrome-59-headless-support/62060>\
**Category:** Development\
**Created:** [2017 年 5 月 3 日午後 5:44 UTC](https://meta.discourse.org/t/chrome-59-headless-support/62060 "2017-05-03T17:44:27Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [2017 年 8 月 21 日午後 2:48 UTC](https://meta.discourse.org/t/chrome-59-headless-support/62060/19 "2017-08-21T14:48:36Z")

</div>

I’ve made a PR to install node8 in the base image

[https://github.com/discourse/discourse\_docker/pull/370](https://github.com/discourse/discourse_docker/pull/370)

I also had a play with puppeteer, and it is much easier/cleaner than what I had before. I’ve published an NPM module to do exactly what we need - I figure it might be useful for other projects using QUnit. So once node has been upgraded it should be as simple as

```plaintext
npm install -g qunit-puppeteer
qunit-puppeteer http://localhost:3000

```

The `npm install` installs puppeteer as a dependency, which in turn pulls in a recent version of chromium 🙂

[https://github.com/davidtaylorhq/qunit-puppeteer](https://github.com/davidtaylorhq/qunit-puppeteer)

Then I think the next step would be trying to figure out how this can slot into AutoSpec…

---

_[View the full topic](https://meta.discourse.org/t/chrome-59-headless-support/62060)._
