Skip to main content
Use with any clickable download file element, including button, a, span, div. CRITICAL: Use only this for file download, do not use click. Example:
from notte_sdk import actions

session.execute(actions.DownloadFile(selector="download-button"))
session.execute(actions.DownloadFile(selector="report-link"))
# Use the following selection if you want to download a raw PDF, DOCX, file.
session.execute(actions.DownloadFile(selector="html"))

Fields

type
Literal['download_file']
default:"download_file"
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]

Module

notte_core.actions
I