我在 php 项目中使用 phantomjs 进行验收测试。但是当我重定向到其他页面时,phantomjs 返回空白页面。响应的输出是
我的acceptance.suite.yml 的配置是
类名:AcceptanceTester 模块:
enabled:
- \Helper\Acceptance
- WebDriver
config:
WebDriver:
browser: phantomjs
acceptSslCerts: true
url: http://mysite.dev
host: 127.0.0.1
port: 4444
wait: 5
window_size: 1400x1000
capabilities:
unexpectedAlertbehavior: "accept"
sslProtocal: "any"
ignoreSslErrors: "true"
webSecurity: "false"