geckordp.actors.accessibility.simulator module

class geckordp.actors.accessibility.simulator.SimulatorActor(*args, **kwargs)

Bases: Actor

https://github.com/mozilla/gecko-dev/blob/master/devtools/shared/specs/accessibility.js#L212

class Types(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: str, Enum

ACHROMATOPSIA = 'ACHROMATOPSIA'
CONTRAST_LOSS = 'CONTRAST_LOSS'
DEUTERANOPIA = 'DEUTERANOPIA'
NONE = 'NONE'
PROTANOPIA = 'PROTANOPIA'
TRITANOPIA = 'TRITANOPIA'
simulate(simulate_matrix: Types = Types.NONE)