The maximum depth at which descendants of the root node should be retrieved. If omitted, the full tree is returned.
The frame for whose document the AX tree should be retrieved. If omitted, the root frame is used.