how to test rails js and ajax without a browser
Posted
by
user1679052
on Stack Overflow
See other posts from Stack Overflow
or by user1679052
Published on 2012-09-18T02:29:01Z
Indexed on
2012/09/18
3:38 UTC
Read the original article
Hit count: 156
when i use rspec with capybara to test my rails js page , I got the following error: "Selenium::WebDriver::Error::WebDriverError: Could not find Firefox binary (os=linux). " Actually my rails script are all written on the linux server, where there is on brower installed, and any desktop software is not supported on the server (since no X11 is installed). How can I test js in this situation. Or is there and brower that works without X11 installed like wget? Thanks.
© Stack Overflow or respective owner