actors.inspector module
- class actors.inspector.InspectorActor(*args, **kwargs)
Bases:
Actor
https://github.com/mozilla/gecko-dev/blob/master/devtools/shared/specs/inspector.js
- class Highlighters(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
str
,Enum
https://firefox-source-docs.mozilla.org/devtools/tools/highlighters.html#using-highlighters
- BOX_MODEL_HIGHLIGHTER = 'BoxModelHighlighter'
- CSS_GRID_HIGHLIGHTER = 'CssGridHighlighter'
- CSS_TRANSFORM_HIGHLIGHTER = 'CssTransformHighlighter'
- FLEXBOX_HIGHLIGHTER = 'FlexboxHighlighter'
- FONTS_HIGHLIGHTER = 'FontsHighlighter'
- GEOMETRY_EDITOR_HIGHLIGHTER = 'GeometryEditorHighlighter'
- MEASURING_TOOL_HIGHLIGHTER = 'MeasuringToolHighlighter'
- PAUSED_DEBUGGER_OVERLAY = 'PausedDebuggerOverlay'
- RULERS_HIGHLIGHTER = 'RulersHighlighter'
- SELECTOR_HIGHLIGHTER = 'SelectorHighlighter'
- SHAPES_HIGHLIGHTER = 'ShapesHighlighter'
- cancel_pick_color_from_page()
- get_compatibility()
- get_highlighter_by_type(hightligher_type: Highlighters)
- get_image_data_from_url(url: str, max_dim=0)
- get_page_style()
- get_walker(options_json: dict | None = None)
- pick_color_from_page(options_json: dict)
- resolve_relative_url(url: str, dom_node_actor: str)
- supports_highlighters()