Useful for extracting structured data from a page without LLM processing.
Example:
session.execute(type="evaluate_js", code="document.title")
session.execute(type="evaluate_js", code="Array.from(document.querySelectorAll('a')).map(a => a.href)")
Fields
type
Literal['evaluate_js']
default:"evaluate_js"
category
str
default:"Special Browser Actions"
The JavaScript code to evaluate on the page
Module
notte_core.actions.actions