Skip to content
YosoiDocs

Functions

Name Summary
action Navigate to url, then run the flow with managed SDK cleanup.
all_of Combine expectations so every child must be satisfied.
assert_all Check one typed Contract observation using synchronous local predicates.
assert_that Declare an immediate check of a DOM condition.
ax Declare an accessibility expectation for Until.
check Author one named synchronous Contract predicate.
click Declare one click without dispatching it.
count_at_least Declare a minimum DOM match count for Until.
enter_text Declare a text input action without executing it.
evaluate Declare JavaScript evaluation without executing the source.
evaluate_file Take a bounded, Rust-validated snapshot of one UTF-8 JavaScript file.
exists Declare an element-existence expectation for Until.
flow Build an immutable Flow, retaining Rust defaults unless configured.
navigate Declare navigation without acquiring or changing a browser.
response Declare a matching network-response expectation for Until.
run_module Snapshot a bounded relative JavaScript module graph from disk.
run_module_with_export Snapshot a JavaScript module graph and read one named export as JSON.
screenshot Declare screenshot capture without executing it.
session Create an async context manager for an explicitly owned browser Session.
timed Apply a positive, explicit millisecond timeout to one action.
until Declare an expectation wait around an optional one-shot trigger.
visible Declare a browser visibility expectation for Until.
wait Declare an explicit duration rather than a readiness condition.
wait_until Declare a bounded DOM-condition wait.