PhantomJS support
See original GitHub issueI’m submitting a feature request
- Library Version: 1.0.1 (I think)
Please tell us about your environment:
- Operating System: Arch Linux
- Node Version: v6.3.1
- NPM Version: 3.10.3
- Browser: PhantomJS
- Language: TypeScript
Current behavior:
trying to use phatomjs results in the following error. I installed "karma-phantomjs-launcher": "^1.0.1",
changed karma.conf.js
to have browsers: ['PhantomJS'],
and ran au test --watch
. I received this error
PhantomJS 2.1.1 (Linux 0.0.0) ERROR
SyntaxError: Expected an identifier but found 'originalDefine' instead
at /home/xenoterracide/IdeaProjects/rpf-ui/test/aurelia-karma.js:49
Expected/desired behavior:
after installing the launcher and configuring the browser PhantomJS should work
- What is the motivation / use case for changing the behavior?
using PhantomJs for headless tests in a docker container on CI.
The skeleton for webpack/typscript works with phantomjs
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
PhantomJS - Scriptable Headless Browser
PhantomJS is a headless web browser scriptable with JavaScript. ... Using QtWebKit as the back-end, it offers fast and native support for various...
Read more >"Selenium support for PhantomJS has been deprecated ...
"Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome or Firefox instead" #48.
Read more >PhantomJS - Wikipedia
PhantomJS is a discontinued headless browser used for automating web page interaction. PhantomJS provides a JavaScript API enabling automated navigation, ...
Read more >Supported technologies: PhantomJs - Wallaby.js
While we support the use of PhantomJs, PhantomJs has been deprecated in favor of headless chrome. We recommend changing your Wallaby configuration to...
Read more >PhantomJS - Overview - Tutorialspoint
PhantomJS does not support Flash or Video, as it requires plugins and it is difficult to support the same on the command line....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Modify aurelia-karma.js at line 49 from:
let originalDefine = global.define;
to:var originalDefine = global.define;
@bootrider, are you saying that changing the
let
to avar
solved the issue?