MouseButton class Null safety
Common mouse button for webdriver.
Please refer to both json wire spec here: https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidclick and w3c spec here: https://w3c.github.io/uievents/#dom-mouseevent-button
- MouseButton(int value)
value for a mouse button is defined in
- auxiliary → const MouseButton
The auxiliary button is usually the middle button, often combined with a
- primary → const MouseButton
The primary button is usually the left button or the only button on
single-button devices, used to activate a user interface control or select
- secondary → const MouseButton
The secondary button is usually the right button, often used to display a
- x1 → const MouseButton
Optional button to fire back action on a mouse. Defined in W3C.
- x2 → const MouseButton
Optional button to fire forward action on a mouse. Defined in W3C.