For Act, we break the instruction into smaller decisions. “Type ‘San Francisco’ into the destination field” turns into:
Identify the action: fill
Identify the text: San Francisco
Choose the destination input
Then deterministic code fills the field and checks the value.