Simulate a DOM event

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


Demos & Screenshots

No screenshots provided yet. Have some video demos or screenshots of this brick in the wild?
Send them over to [email protected]!


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

Outputs

Name Required Type Description
No outputs for this brick defined.

Details

ID @pixiebrix/dom/trigger-event
Author @pixiebrix
Version 1.7.0
Created Aug. 17, 2021
Updated May 26, 2022

Related Bricks

  • No related bricks