Bricks for Interacting with the DOM

Many automations involve interacting with elements on the page, such as filling out a form or clicking on a field. You'll use these common bricks to interact with elements on a page.

Set Input Value

Now that we've collected data in a few different ways (scraping the page to get text in a box and transforming a URL into a shortened link) let's do something with it. In many cases, you're going to want to turn that text into data you can add to a page, such as setting content for a tweet or LinkedIn message, filling out a form in Salesforce, or performing a search query on a site.

To do this, you'll use the Set Input Value brick. You can learn more in the Set Input Value brick docs.

Simulate DOM event

Here’s another action you’ll find useful as you build your PixieBrix mods! If you're not a developer, the words "DOM" might not mean anything to you, but in plain English, the Simulate DOM Event brick allows PixieBrix to interact with items on a page and trigger actions, like clicking elements on a page.

It can be useful for submitting forms or posting content, like tweets or LinkedIn posts, but it’s also a great way to navigate between pages that don’t have clear links between them.

Learn more in the Simulate DOM Event docs.

Last updated