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

help with headless testing #25

Open
gleicon opened this issue Oct 20, 2014 · 5 comments
Open

help with headless testing #25

gleicon opened this issue Oct 20, 2014 · 5 comments

Comments

@gleicon
Copy link

gleicon commented Oct 20, 2014

Hi, I'd like some pointers to try to run perfmap on phantomjs/casperjs to store a screenshot of the test. I did some testing following my experience on phantomjs but it seems that just injecting the element wont work:

https://gist.github.com/gleicon/bfc006ab267cf3f6dc76

@zeman
Copy link
Owner

zeman commented Oct 21, 2014

Sorry, I haven't done any work with phantomjs. I'll tag as "help wanted" and someone might help you out.

@macbre
Copy link

macbre commented Oct 21, 2014

@gleicon, unfortunately PhantomJS does not support Navigation Timing API - ariya/phantomjs#10570:

console.log(typeof window.performance); // undefined

@macbre
Copy link

macbre commented Oct 21, 2014

However, it does work on SlimerJS (which uses Gecko engine)

https://gist.github.com/macbre/9f23f314d8a3ff69313b

npm install -g slimerjs

@gleicon
Copy link
Author

gleicon commented Oct 21, 2014

awesome ! thanks :D

@matiascarranza
Copy link

I have done some work with phantomjs, jasmine and grunt. check my pull request.

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

4 participants