34 public class SelectorSettings
36 internal string Name {
get;
set; } =
null;
40 public class SelectorPathEntry
74 internal class MatchCriteriaEntry
76 public string StringToMatch {
get;
set; } =
null;
77 internal MatchType MatchType {
get;
set; } = MatchType.None;
78 internal bool ExactMatch {
get;
set; } =
true;
79 public Selector.webMatchingFunction WebMatchingFunction {
get;
set; } =
null;
80 public Selector.appMatchingFunction AppMatchingFunction {
get;
set; } =
null;
86 public Func<string> DataFunction {
get;
internal set; }
87 internal List<SelectorPathEntry> SelectorPaths {
get;
set; } =
null;
88 internal List<MatchCriteriaEntry> MatchCriteria {
get;
set; } =
null;
89 internal string AttributeName {
get;
set; } =
null;
90 internal InteractionType InteractionType {
get;
set; } = InteractionType.Puppeteer;
91 internal InteractionType? RequestedInteractionType {
get;
set; } =
null;
92 internal string HRef {
get;
set; } =
null;
93 internal int OffsetX {
get;
set; } = 0;
94 internal int OffsetY {
get;
set; } = 0;
95 internal int DeltaX {
get;
set; } = 0;
96 internal int DeltaY {
get;
set; } = 0;
97 internal bool DeleteMe {
get;
set; } =
false;
98 internal bool SearchForSelector {
get;
set; } =
true;
99 public List<CallIfDelegate> CallIfFound {
get;
internal set; }
100 public List<CallIfDelegate> CallIfNotFound {
get;
internal set; }
101 internal List<CallIfDelegate> RemovedMethods {
get;
set; }
102 internal List<Application.Application.CallIfDelegate> AppCallIfFound {
get;
set; }
103 internal List<Application.Application.CallIfDelegate> AppCallIfNotFound {
get;
set; }
104 public CallIfStatus CallIfFoundHandled {
get;
internal set; } = CallIfStatus.NotHandled;
105 public CallIfStatus CallIfNotFoundHandled {
get;
internal set; } = CallIfStatus.NotHandled;
106 public CallIfStatus AppCallIfFoundHandled {
get;
internal set; } = CallIfStatus.NotHandled;
107 public CallIfStatus AppCallIfNotFoundHandled {
get;
internal set; } = CallIfStatus.NotHandled;
108 internal bool SimulateMouse {
get;
set; } =
false;
109 internal bool StopOnNotFound {
get;
set; } =
false;
110 internal int ElementsFoundAndMatchedCount {
get;
set; } = 0;
111 internal Selector InFrame {
get;
set; } =
null;
113 internal SelectorSettings()
115 SelectorPaths =
new List<SelectorPathEntry>();
116 MatchCriteria =
new List<MatchCriteriaEntry>();
117 CallIfFound =
new List<CallIfDelegate>();
118 CallIfNotFound =
new List<CallIfDelegate>();
119 RemovedMethods =
new List<CallIfDelegate>();
120 AppCallIfFound =
new List<Application.Application.CallIfDelegate>();
121 AppCallIfNotFound =
new List<Application.Application.CallIfDelegate>();
An entry defining a selector locator, a selector path.
List< GPALAutomationElement > AppSelectorFoundResults
UIAutomation elements found for this selector.
List< GPALElement > WebSelectorMatchedResults
Web elements matched out of the found selectors.
List< GPALElement > WebSelectorFoundResults
Web elements found for this selector.
SelectorPathType SelectorPathType
THe type of selector, css, xpath, text, etc.
string SelectorPath
The actual selector string.
Image Image
The image to match to create a psuedo element.
List< GPALAutomationElement > AppSelectorMatchedResults
UIAutomation elements matched out of the found selectors.