4

I found 2 javascript virtual envirenments: envjs and jsdom, but I was wondering if there aren't others one out there. If so, please share. (and yes I google it before I ask the question)

asked Apr 5, 2011 at 18:34

1 Answer 1

4

PhantomJS is a pretty good option. Its essentially a headless version of Webkit.

http://www.phantomjs.org/

answered Apr 5, 2011 at 18:36
Sign up to request clarification or add additional context in comments.

2 Comments

envJs is used to simulate the behavior before rendering a webpage. Can PhantomJs be used to simulate such behavior too ?
envjs allows you to run a testsuite of javascript tests from the commandline (outside of a browser) - phantomjs does the same thing except that it replicates the browser environment of Webkit 100% because its using Webkit without a GUI. Both are great projects but I'm a bigger fan of running tests within an actual browser environment (as opposed to a simulated environ like envjs).

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.