Type Alias NavigateInstruction
NavigateInstruction:
| { type: "redirect"; url: string }
| {
form: { action: string; method?: "POST"; vars: FormValueList };
type: "form";
}
| { type: "reload" }
| { message: unknown; target?: "parent" | "opener"; type: "postmessage" }
| { type: "close" }
| { type: "redirect"; url: string }
| {
form: { action: string; method?: "POST"; vars: FormValueList };
type: "form";
}
| { type: "reload" }
| { message: unknown; target?: "parent" | "opener"; type: "postmessage" }
| { type: "close" }
A navigation instruction encapsulates the next step that a client has to take in eg. a login, payment or wizard flow. Use navigateTo to execute a navigation in a browser