Skip to content
YosoiDocs

all_of

yosoi.browser.all_of

def all_of(expectations: Iterable[UntilExpectation | LocalRustAssertion]) -> AllExpectation:

Combine expectations so every child must be satisfied.

Args: expectations: Nonempty iterable copied into a tuple; local assertions retain bindings.

Returns: AllExpectation; Until validates tree size and depth.

Source: python/yosoi/browser.py:1812