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

PhantomJS Support #724

Closed
thebyrd opened this issue Aug 26, 2014 · 7 comments
Closed

PhantomJS Support #724

thebyrd opened this issue Aug 26, 2014 · 7 comments

Comments

@thebyrd
Copy link

thebyrd commented Aug 26, 2014

Here's a good blogpost on someone unsuccessful trying to get it to work. I don't know enough about the internals to know why it doesn't work, but I'd be happy to work on it if someone could give me a high level explanation.

@robdodson
Copy link
Contributor

My understanding is that Phantom is based on a very very old version of Webkit and would need to go through a pretty big update to be made compatible. I think there's work on a PhantomJS v2 or something but don't know much more about it.

@thebyrd
Copy link
Author

thebyrd commented Aug 26, 2014

ah, that makes sense. No worries then. Do you know of a Chromium based alternative?

@robdodson
Copy link
Contributor

Not off the top of my head. We've been pursuing testing in real browsers
(or VMs at least) using SauceLabs (
https://github.com/PolymerLabs/sauce-element)

On Tue, Aug 26, 2014 at 12:30 PM, David Byrd [email protected]
wrote:

ah, that makes sense. No worries then. Do you know of a Chromium based
alternative?


Reply to this email directly or view it on GitHub
#724 (comment).

@thebyrd
Copy link
Author

thebyrd commented Aug 26, 2014

sounds good. Thanks!

Sent from Mailbox

On Tue, Aug 26, 2014 at 3:34 PM, Rob Dodson [email protected]
wrote:

Not off the top of my head. We've been pursuing testing in real browsers
(or VMs at least) using SauceLabs (
https://github.com/PolymerLabs/sauce-element)
On Tue, Aug 26, 2014 at 12:30 PM, David Byrd [email protected]
wrote:

ah, that makes sense. No worries then. Do you know of a Chromium based
alternative?


Reply to this email directly or view it on GitHub
#724 (comment).


Reply to this email directly or view it on GitHub:
#724 (comment)

@lavelle
Copy link

lavelle commented Aug 26, 2014

Can you guys recommend a good way to run functional tests on a Polymer app? Casper (which uses Phantom) and Zombie (which uses JSDOM) don't work because they don't have all the features that Polymer needs.

I really don't want to introduce Selenium's Java dependency to my project, and Dalek is too unstable for production right now.

@robdodson
Copy link
Contributor

For the sauce-element, I write mocha tests and tell grunt-saucelabs to run them on the SauceLabs VMs. That's the best solution I've found so far. You could use Karma to run the tests locally (and potentially on saucelabs) but I haven't dug into that too much.

@addyosmani
Copy link
Member

Atm, your best bet is probably going to be waiting for Phantom V3, which may indeed include a full architectural rewrite that switches over to using Blink. It's unclear what the timeline for it is, so until then attempting to use a VM solution may well be the way forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants