webtool_coverage_analysis
Analyzes JavaScript and CSS coverage on webpages to identify unused code and optimization opportunities using Chrome DevTools Protocol.
Instructions
Analyze JavaScript and CSS coverage to identify unused code and optimization opportunities. Uses Chrome DevTools Protocol Coverage API to provide detailed insights into code usage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL of the webpage to analyze | |
| timeoutMs | No | Timeout in milliseconds for the analysis | |
| waitAfterLoadMs | No | Additional time to wait after page load to capture more interactions | |
| includeThirdParty | No | Whether to include third-party scripts and stylesheets in the analysis | |
| useProxy | No | Whether to use a proxy for this request | |
| ignoreSSLErrors | No | Whether to ignore SSL certificate errors (use with caution) | |
| disableCache | No | Whether to disable browser cache for the analysis | |
| networkConditionName | No | Predefined network condition to emulate (e.g., 'Slow 3G', 'Fast 3G', '4G', 'WiFi', 'Fiber') | |
| networkCondition | No | Custom network condition configuration | |
| deviceName | No | Predefined device to emulate (e.g., 'Pixel 7', 'iPhone 14') | |
| deviceConfig | No | Custom device configuration for emulation |