Now for capybara's js tests i use chrome browser. All tests pass now.