Simulate a DOM event

Simulate a DOM element event, e.g., click

by @pixiebrix

How to Use

After adding the Simulate DOM Event brick, use the selector input to define what to pull information from, either using the button or by manually entering JQuery. After that choose which event (action) should be simulated, such as clicking or scrolling.

Use Case

  • Clicking on parts of the UI that might reveal new UI components
  • Sending forms
  • Pressing buttons
  • Scrolling up or down a page
  • Selecting different options in a modal

Inputs

Name Required Type Description
event string
selector string
isRootAware boolean Whether the brick should run in the context of the target element, or document

Outputs

Name Required Type Description
No outputs for this brick defined.

Related Tags