pub async fn get_inspect_data(
    realm: &TestRealm<'_>,
    component_moniker: impl Into<String>,
    tree_selector: impl Into<String>,
    file_prefix: &str
) -> Result<DiagnosticsHierarchy>
Expand description

Gets inspect data in realm.

Returns the resulting inspect data for component, filtered by tree_selector and with inspect file starting with file_prefix.