Skip to main content
The id field should be set to the select element’s id. Then you can either set the value field to the option’s text or the option_id field to the option’s id. Example:
from notte_sdk import actions

session.execute(actions.SelectDropdownOption(id="country-select", value="United States"))
session.execute(actions.SelectDropdownOption(id="size-select", value="Large"))

Fields

type
Literal['select_dropdown_option']
default:"select_dropdown_option"
category
str
default:"Interaction Actions"
description
str
id
str
default:""
selector
UnionType[str, NodeSelectors, None]
press_enter
UnionType[bool, None]
text_label
UnionType[str, None]
param
UnionType[ActionParameter, None]
default:"name='value' type='str' default=None values=[]"
value
UnionType[str, ValueWithPlaceholder]
required

Module

notte_core.actions
I