🧩 Automation workflow model
Automation workflows combine conditions and action steps.
Trigger conditions
Current supported condition types include:
Page lifecycle
beforeDomReadydomReady
Hostname and URL matching
hostnamehostnameEndsWithhostnameIshostnameIsOneOfurlPattern
User and document events
hotkeydocumentEventscrollEdge
Element watchers
elementLoadedelementVisible
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
clickinputfocusdispatchKeyscrollBywait
URL and navigation steps
replaceUrlappendUrlTextappendUrlPathSegmentnavigateToCurrentUrlMatchtrimUrlPathSegmentnavigateToSelectorHrefreplaceCurrentUrlPatternblockNavigation
DOM and content helpers
removeClasstransformTextreplaceWithImagereplaceWithImageFromContenthydrateAttributeshydrateFromAdjacentHtmlhideContainersByLinkPatternlazyEmbedFrameembedIframeFromExtractedUrlinjectLinkButtonhighlightBestTextMatchautoSelectDropdownOptionspreventVisibilityPausesetMuted
Custom execution
customScriptrunScriptrunStyle
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.
