set_valid_contexts
set_valid_contexts
Set which contexts the agent can navigate to from this step. Overrides any
context-level set_valid_contexts() for this step.
Parameters
contexts
List of context names that are reachable from this step.
Returns
Step — Self for method chaining.