Skip to content
YosoiDocs

Evaluate

yosoi.browser.Evaluate

class Evaluate(TriggerStep):

Declare JavaScript evaluation in the browser page.

Execution requires JavaScript permission in the owning Session or managed invocation. Construction does not execute the source.

Attributes: kind: Wire discriminator identifying this declaration. source: Nonempty JavaScript source bounded to 65,536 characters.

Source: python/yosoi/browser.py:260

TriggerStep

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

kind: Literal['evaluate'] = 'evaluate'
source: StrictStr = Field(min_length=1, max_length=65536)