jcalderonzumba / behat-phantomjs-extension
PhantomJS Mink Behat 扩展,用于 Phantomjs Mink 驱动程序
v0.1.3
2016-01-10 09:53 UTC
Requires
- php: >=5.4
- behat/mink-extension: ~2.0
- jcalderonzumba/mink-phantomjs-driver: ~0.3
This package is not auto-updated.
Last update: 2024-09-10 04:15:01 UTC
README
Behat 3.0+ 与 MinkPhantomJSDriver 之间的集成层。
使用 Composer 安装所有必需的 PHP 依赖项
$ composer require --dev behat/mink jcalderonzumba/mink-phantomjs-driver jcalderonzumba/behat-phantomjs-extension
如何使用
PhantomJSExtension 配置(目前为空)。
default: extensions: Zumba\PhantomJSExtension:
PhantomJSDriver 特定配置
Behat\MinkExtension: phantomjs: phantom_server: "http://localhost:8510/api" template_cache: "/tmp/pjsdrivercache/phantomjs"
启动 PhantomJS 浏览器
phantomjs --ssl-protocol=any --ignore-ssl-errors=true vendor/jcalderonzumba/gastonjs/src/Client/main.js 8510 1024 768 2>&1 >> /tmp/gastonjs.log &
版权
版权所有 © 2015 Juan Francisco Calderon Zumba juanfcz@gmail.com