What if you run Rails manually with test environment:
`rails server -e test`

... and then try to do the same things from irb console (not Rails console!) 
directly:

```ruby
require "watir"

browser = Watir::Browser.new :phantomjs
browser.goto "http://127.0.0.1:rails-test-port/correct_login_path";
browser.text_field(:name, "email").set "email"
browser.text_field(:name, "password").set "password"

browser.button(:value, "Login").click
```

Just fill in with correct information. Does this work?

By the way - what version of Ruby are you using?

---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-rails/issues/4#issuecomment-21659527
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to