Table of Contents

Enum MouseButton

Namespace
OpenQA.Selenium.Interactions
Assembly
WebDriver.dll

Specifies the button used during a pointer down or up action.

public enum MouseButton

Fields

Back = 3

The X1 button used for navigating back.

Forward = 4

The X2 button used for navigating forward.

Left = 0

The button used is the primary button.

Middle = 1

The button used is the middle button or mouse wheel.

Right = 2

The button used is the secondary button.

Touch = 0

This button is used for signifying touch actions.