Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from PhantomJS to Headless Chrome #124

Closed
uglow opened this issue Apr 17, 2017 · 1 comment
Closed

Switch from PhantomJS to Headless Chrome #124

uglow opened this issue Apr 17, 2017 · 1 comment

Comments

@uglow
Copy link
Contributor

uglow commented Apr 17, 2017

See:

Need to wait for a PhantomJS-like interface to support existing tools (e.g. Karma)

@Nighthawk14
Copy link
Contributor

Nighthawk14 commented Apr 17, 2017

You can use it in karma with this configuration:

{
  browsers: ['Chrome_headless'],
  customLaunchers: {
    Chrome_headless: {
      base: 'ChromeCanary',
      flags: ['--headless', '--remote-debugging-port=9222', 'http://0.0.0.0:9876/']
    }
  }
}

Do not forget to download Chrome Canary: https://www.google.com.au/chrome/browser/canary.html.

We should switch to the official support once it's merged:
karma-runner/karma-chrome-launcher#111

uglow added a commit that referenced this issue Aug 31, 2017
…sting

Remove PhantomJS dependency from all projects

ISSUES CLOSED: #124
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants