Session
step
Take an action on the current step
Validates the provided keyword arguments to ensure they conform to the step request schema
Signature
Parameters
The minimum number of actions to list before stopping. If not provided, the listing will continue until the maximum number of actions is reached.
The maximum number of actions to list after which the listing will stop. Used when min_nb_actions is not provided.
The type of action to execute. Can be “step” or a browser action type.
The ID of the action to execute. Required for step type actions.
The value to input for form actions.
Whether to press enter after inputting the value.
action
typing.Union[notte_core.actions.StepAction, typing.Annotated[notte_core.actions.GotoAction | notte_core.actions.GotoNewTabAction | notte_core.actions.SwitchTabAction | notte_core.actions.ScrapeAction | notte_core.actions.GoBackAction | notte_core.actions.GoForwardAction | notte_core.actions.ReloadAction | notte_core.actions.WaitAction | notte_core.actions.PressKeyAction | notte_core.actions.ScrollUpAction | notte_core.actions.ScrollDownAction | notte_core.actions.HelpAction | notte_core.actions.CompletionAction | notte_core.actions.ClickAction | notte_core.actions.FillAction | notte_core.actions.MultiFactorFillAction | notte_core.actions.FallbackFillAction | notte_core.actions.CheckAction | notte_core.actions.SelectDropdownOptionAction, FieldInfo(annotation=NoneType, required=True, discriminator='type')], NoneType]
The action to execute. Cannot be used together with action_id, value, or enter.
Returns
StepResponse
: Result from the step execution