edmondscommerce / behat-chrome-performance-context
A Behat Context for testing site performance
1.1.0
2016-01-15 14:13 UTC
Suggests
- edmondscommerce/behat-framework: Parent framework, allows easier behat setup
This package is auto-updated.
Last update: 2024-10-29 04:20:02 UTC
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