EvaluateFile
yosoi.browser.EvaluateFile
class EvaluateFile(TriggerStep):
Retain a construction-time JavaScript file snapshot.
The factory reads source during construction. Later execution uses the retained snapshot rather than rereading the file, and requires JavaScript permission.
Attributes: kind: Wire discriminator identifying this declaration. snapshot: Rust-validated source snapshot bounded to 1 MiB of encoded JSON.
Source: python/yosoi/browser.py:575
Base classes
Section titled “Base classes”Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Fields and class attributes
Section titled “Fields and class attributes”kind: Literal['evaluate_file'] = 'evaluate_file'
snapshot: dict[str, Any]