Tree
Usage notes
- Child items appear after their parent expands. WPF creates a node's items only once the
node is expanded, so reading
itemsstraight afterexpand()can return a partial list, especially on a slow CI machine. Wait for the children withRetry.WhileEmpty(or until the count you expect) before indexing into them (#76). - Expand level by level. Expand a parent, wait for its children, then go one level deeper.
flaui.core.automation_elements.Tree
Bases: AutomationElement
Class to interact with a tree element.