edmondscommerce/behat-chrome-performance-context
Composer 安装命令:
composer require --dev edmondscommerce/behat-chrome-performance-context
包简介
A Behat Context for testing site performance
README 文档
README
By Edmonds Commerce
Chrome performance monitoring including the checking of broken links and file download cumulative sizes
Installation
Install via composer
"edmondscommerce/behat-chrome-performance-context": "~1.1"
Include Context in Behat Configuration
default:
# ...
extensions:
Behat\MinkExtension:
sessions:
selenium_chrome_session:
selenium2:
browser: chrome
capabilities:
extra_capabilities: { "chromeOptions": { "args": ["--start-maximized", "--test-type"], perfLoggingPrefs: { 'traceCategories': 'blink.console,disabled-by-default-devtools.timeline' } }, "loggingPrefs": { "performance": "ALL" } }
suites:
default:
# ...
contexts:
- # ...
- EdmondsCommerce\BehatChromePerformance\ChromePerformanceContext
统计信息
- 总下载量: 368
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2016-01-14