无法使用phantomJs、capybara与第三方angularJs应用程序交互

无法使用phantomJs、capybara与第三方angularJs应用程序交互,angularjs,phantomjs,capybara,poltergeist,Angularjs,Phantomjs,Capybara,Poltergeist,我无法与angularjs第三方应用程序交互。我已经安装了capybara ng、capybara/angularjs,并将DSL更改为angularjs DSL 我正在使用ruby2.0.3,phantomjs-2.0.0-windows DOM未完全加载,我无法继续 非常感谢您提供的任何帮助请确保您确实在使用phantomjs 2.0+,并在您的poltergeist驱动程序配置中启用js_错误。造成这种情况的通常原因是您使用的phantomjs版本缺少Function.prototype.

我无法与angularjs第三方应用程序交互。我已经安装了capybara ng、capybara/angularjs,并将DSL更改为angularjs DSL

我正在使用ruby2.0.3,phantomjs-2.0.0-windows

DOM未完全加载,我无法继续


非常感谢您提供的任何帮助

请确保您确实在使用phantomjs 2.0+,并在您的poltergeist驱动程序配置中启用js_错误。造成这种情况的通常原因是您使用的phantomjs版本缺少Function.prototype.bind支持,这将显示在js错误中。您可以为它提供polyfill支持,但PhantomJS2应该内置支持