Multi-Page Flows¶
How to run multi-step workflows across pages with current Oryn support.
Current Status¶
Design docs and engine modules include richer flow/intents concepts, but the unified CLI does not currently expose full declarative flow YAML execution.
Recommended Pattern Today¶
Model multi-page workflows as .oil scripts and run them with:
Example Checkout-Like Flow¶
goto https://shop.example.com/cart
observe
click "Checkout"
wait navigation
observe
# shipping page
type "Address" "123 Main St"
type "City" "Austin"
select "Country" "United States"
click "Continue"
wait navigation
observe
# payment page
type "Card number" "4111111111111111"
type "Expiry" "12/30"
type "CVV" "123"
click "Pay"
wait navigation
observe
Reliability Tips¶
- Re-run
observeafter each navigation. - Prefer semantic targets (
"Continue",email,submit) over fragile numeric IDs. - Use explicit waits (
wait load,wait visible ...,wait url ...) between transitions. - Capture evidence with screenshots:
Recovery Pattern¶
When a step fails, split the flow into smaller files and rerun from the failed stage:
flow-01-cart.oilflow-02-shipping.oilflow-03-payment.oil
This gives practical checkpointing without relying on unfinished flow DSL features.