/// <summary> /// Called after renderer process sends accessibility tree changes to the browser process. /// </summary> /// <param name="value">Updated tree info.</param> protected virtual void OnAccessibilityTreeChange(IValue value) { if (value.Type != Enums.ValueType.Dictionary) { return; } var accessibilityUpdateDictionary = value.GetDictionary(); string treeId = accessibilityUpdateDictionary["ax_tree_id"].GetString(); owner.Dispatcher.Invoke(new Action(() => AutomationPeer.OnAccessibilityTreeChange(treeId, accessibilityUpdateDictionary) )); }