edmondscommerce / behat-chrome-performance-context
A Behat Context for testing site performance
Installs: 368
Dependents: 0
Suggesters: 1
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/edmondscommerce/behat-chrome-performance-context
Suggests
- edmondscommerce/behat-framework: Parent framework, allows easier behat setup
This package is auto-updated.
Last update: 2025-10-29 01:39:47 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