simulate-mouse-event

The simulate-mouse-event snippet triggers arbitrary mouse events on elements matched by a CSS or XPath selector by calling dispatchEvent for a selector.

The following table lists MouseEvent and PointerEvent events for this snippet:

Parameters

eyeo uses a custom, optional parameter syntax similar to the syntax used in specificClicker.

Mandatory parameter

Optional parameters

Optional parameters are added to the selectors with a $ sign. You can combine multiple parameters for a single selector by separating them with a comma. If you don't specify a parameter is, the default value will be assumed for that selector.

Filter examples

The following table lists examples that use the simulate-mouse-event snippet:

Last updated