If Firefox runs fine then i doubt that the problem is in `watir-rails`, because it does nothing specific or differently when using PhantomJS instead of other browsers.
You could try to upgrade `watir-webdriver`, `selenium-webdriver` and `phantomjs` to their latest versions unless that's already the case. Not sure about everything working in `IRB` though. Maybe it has something to do with running in the context of Rails and only occurs when commands are executed fast enough - e.g. the problem won't happen when executing commands one after another manually and not fast enough. I don't have any other ideas how to help you out except using a debugger to see where things go awry. There should be something to see when `$DEBUG=true` is set - maybe you just didn't notice it since it will output a lot of information and the interesting line might be somewhere up. Better save that output to the file and look again. Can you create some code, which would reproduce the problem and i could run it too? --- Reply to this email directly or view it on GitHub: https://github.com/watir/watir-rails/issues/4#issuecomment-21671551
_______________________________________________ Wtr-development mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-development
