0

I'm trying to run some QUnit test cases with phantomJS and chutzpah console. I'm having difficulties communicate with the phantomJS cookies. My test case runs perfectly with the browser communicating with the but not with phantomJS as it gives an error with the cookie.

Does the phantomJS deals with Cookies in a different pattern than the other browsers? any suggestions?

4

1 回答 1

0

你有至少 1.7 版的 PhantomJS 吗?在发行说明中它指出:

PhantomJS 1.7 “Blazing Star”,于 2012 年 9 月 22 日发布。它增加了模块系统支持(仿照 CommonJS)、更好的 cookie 处理以及其他一些小的改进。

http://phantomjs.org/release-1.7.html

于 2013-04-09T14:12:36.860 回答