🧩 Automation workflow model

Automation workflows combine conditions and action steps.

Trigger conditions

Current supported condition types include:

Page lifecycle

  • beforeDomReady
  • domReady

Hostname and URL matching

  • hostname
  • hostnameEndsWith
  • hostnameIs
  • hostnameIsOneOf
  • urlPattern

User and document events

  • hotkey
  • documentEvent
  • scrollEdge

Element watchers

  • elementLoaded
  • elementVisible

These conditions let you scope a workflow to one site, one page pattern, one hotkey, or a specific DOM event.

Action steps

Current action support spans several groups.

Interaction steps

  • click
  • input
  • focus
  • dispatchKey
  • scrollBy
  • wait

URL and navigation steps

  • replaceUrl
  • appendUrlText
  • appendUrlPathSegment
  • navigateToCurrentUrlMatch
  • trimUrlPathSegment
  • navigateToSelectorHref
  • replaceCurrentUrlPattern
  • blockNavigation

DOM and content helpers

  • removeClass
  • transformText
  • replaceWithImage
  • replaceWithImageFromContent
  • hydrateAttributes
  • hydrateFromAdjacentHtml
  • hideContainersByLinkPattern
  • lazyEmbedFrame
  • embedIframeFromExtractedUrl
  • injectLinkButton
  • highlightBestTextMatch
  • autoSelectDropdownOptions
  • preventVisibilityPause
  • setMuted

Custom execution

  • customScript
  • runScript
  • runStyle

Practical rule of thumb

Use conditions to answer when should this run?

Use steps to answer what should HuBrowser do next?

If you want to capture the first version of a workflow by example, start in Record & Repeat, then save it into Automation and refine the workflow there.