CSS Inspection¶
wavexis can inspect CSS styles, computed values, and stylesheet rules.
Get inline styles¶
Returns the inline style string for the matched element.
Get computed styles¶
Returns a JSON object with all computed CSS properties.
Get stylesheet rules¶
Returns all CSS rules from the specified stylesheet index.
List stylesheets¶
wavexis eval https://example.com -e "
JSON.stringify(
Array.from(document.styleSheets).map(s => ({
href: s.href,
rules: s.cssRules.length
}))
)
" --await-promise
Overlay highlight¶
Highlight an element with a red outline for debugging: