I am using capybara and selenium to run my cucumber test on my local machine. For the pages that involves javascript, Selenium activates firefox and crawls through the pages in firefox to do the tasks. They cooperates very well on my local machines.
However, in my staging environment, I do not have a GUI browser in it. Is there a way for selenium in a no-browser environment? Or is there any other way to test javascript with cucumber in a no-browser environment?