We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1479e24 commit ed283daCopy full SHA for ed283da
src/TestStack.White/UIItems/UIItem.cs
@@ -51,7 +51,7 @@ public UIItem(AutomationElement automationElement, IActionListener actionListene
51
{
52
if (null == automationElement) throw new NullReferenceException();
53
this.automationElement = automationElement;
54
- this.actionListener = actionListener;
+ this.actionListener = actionListener ?? new NullActionListener();
55
factory = new PrimaryUIItemFactory(new AutomationElementFinder(automationElement));
56
}
57
0 commit comments