browser_get_css_styles
Inspect computed CSS styles and matched stylesheet rules for an element by CSS selector or @ref reference to debug styling issues.
Instructions
Inspect element computed CSS styles and matched stylesheet rules by selector or @ref.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_get_css_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element reference from snapshot (e.g. '@1') | |
| selector | No | CSS selector of element |