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
Constructors
- MouseButton(int value)
-
value for a mouse button is defined in
https://w3c.github.io/uievents/#widl-MouseEvent-button
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- auxiliary → const MouseButton
-
The auxiliary button is usually the middle button, often combined with a
mouse wheel.
MouseButton(1)
- 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
text.
MouseButton(0)
- secondary → const MouseButton
-
The secondary button is usually the right button, often used to display a
context menu.
MouseButton(2)
- x1 → const MouseButton
-
Optional button to fire back action on a mouse. Defined in W3C.
MouseButton(3)
- x2 → const MouseButton
-
Optional button to fire forward action on a mouse. Defined in W3C.
MouseButton(4)