Validates the provided keyword arguments to ensure they conform to the step request schema

Parameters

type
str

The type of action to execute (e.e “click”, “fill”, etc.)

action_id
str | None

The ID of the action to execute. Required for step type actions.

value
str | int | None

The value to input for form actions.

enter
bool | None

Whether to press enter after inputting the value.

selector
str | None
action
typing.Optional[typing.Annotated[notte_core.actions.FormFillAction | notte_core.actions.GotoAction | notte_core.actions.GotoNewTabAction | notte_core.actions.SwitchTabAction | 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.CaptchaSolveAction | notte_core.actions.HelpAction | notte_core.actions.SolveCaptchaAction | notte_core.actions.CompletionAction | notte_core.actions.ScrapeAction | notte_core.actions.ClickAction | notte_core.actions.FillAction | notte_core.actions.MultiFactorFillAction | notte_core.actions.FallbackFillAction | notte_core.actions.CheckAction | notte_core.actions.SelectDropdownOptionAction | notte_core.actions.UploadFileAction | notte_core.actions.DownloadFileAction, FieldInfo(annotation=NoneType, required=True, discriminator='type')]]

The action to execute. Cannot be used together with action_id, value, or enter.

Returns

StepResponse: Result from the step execution