![]() |
GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
|
GPAL Selector used to locate Application and Browser elements.
Instantiated with GPAL.Selector.
More...
Public Member Functions | |
| Selector | ToGPALObject () |
| delegate CallIfStatus | webMatchingFunction (List< IGPALElement > foundElements, out List< IGPALElement > matchedElements, out bool matchedAll, Selector selector, bool ExactMatch=true) |
| Custom matching function, must return all matched elements and an indicator as to whether all elements matched (for the purpose of the custom match) More than one custom matching method can be define, they will be chained based upon the return value. | |
| delegate CallIfStatus | appMatchingFunction (List< GPALAutomationElement > foundElements, out List< GPALAutomationElement > matchedElements, out bool matchedAll, Selector selector, bool ExactMatch=true) |
| Custom matching function, must return all matched elements and an indicator as to whether all elements matched (for the purpose of the custom match) More than one custom matching method can be define, they will be chained based upon the return value. | |
| IAllowSelectorSettings | WithCSS (string css) |
| Define CSS used to find elements. Browser only. | |
| IAllowSelectorSettings | WithXPath (string xPath) |
| Define XPath used to find elements Both. | |
| IAllowSelectorSettings | WithText (string text) |
| Define Text used to find elements by text attribute. Browser only. | |
| IAllowSelectorSettings | WithValue (string value) |
| Define Value used to find elements by value attribute. Browser only. | |
| IAllowSelectorSettings | WithName (string name) |
| Define Name used to find elements by name attribute. Application only. | |
| IAllowSelectorSettings | WithClassName (string className) |
| Define Name used to find elements by name attribute. Application only. | |
| IAllowSelectorSettings | WithAutomationID (string automationID) |
| Define Name used to find elements by name attribute. Application only. | |
| IAllowSelectorSettings | WithPlaceholder (string placeholder) |
| Define the placeholder used to find elements, matched in full against the placeholder attribute. Browser only. | |
| IAllowSelectorSettings | WithImage (string base64String) |
| Define an image to match on-screen. The top left corner is used as the start of the element. Image matching forces hardware interaction with this element. | |
| IAllowSelectorSettings | WithImage (Image image) |
| Define an image to match on-screen. The top left corner is used as the start of the element. Image matching forces hardware interaction with this element. | |
| IAllowSelectorSettings | WithSearchForSelector (bool searchForElement) |
| Search for a matching image when using hardware emulation or image matching. Finding an element on page involves scrolling down the page (sending Page Down key presses). . | |
| IAllowSelectorSettings | WithSelectorName (string name) |
| A common name for this selector. Used in Information and Exception channel messages. | |
| IAllowSelectorSettings | WithDeltaX (int deltaX) |
| Define the x offset from the Top Left corner to perform clicks. | |
| IAllowSelectorSettings | WithDeltaY (int deltaY) |
| Define the y offset from the Top Left corner to perform clicks. | |
| IAllowSelectorSettings | WithOffsetX (int offsetX) |
| Define the x offset from the Top Left corner to perform clicks. | |
| IAllowSelectorSettings | WithOffsetY (int offsetY) |
| Define the y offset from the Top Left corner to perform clicks. | |
| IAllowSelectorSettings | WithSimulateMouse (bool moveWithArc) |
| Simulate a human moving the mouse when interacting with this element. Implies hardware input. | |
| IAllowSelectorSettings | UseAttribute (string attributeName) |
| IAllowSelectorSettings | MatchFunction (Selector.appMatchingFunction matchingFunction) |
| Your custom application element matching function to examine found elements and return only those you 'match'. | |
| IAllowSelectorSettings | MatchFunction (Selector.webMatchingFunction matchingFunction) |
| Your custom web element matching function to examine found elements and return only those you 'match'. | |
| IAllowSelectorSettings | MatchAttribute (string attributeToMatch) |
| Found elements must have attribute supplied in order to interact with them. | |
| IAllowSelectorSettings | MatchAttributeRegex (string attributeToMatch) |
| Found elements must have the attribute specified by regular expression in order to interact with them. | |
| IAllowSelectorSettings | MatchHRef (string hrefToMatch) |
| Found elements must match the HRef supplied in order to interact with them. | |
| IAllowSelectorSettings | MatchHRefRegex (string hrefToMatch) |
| Found elements must match the HRef regular expression supplied in order to interact with them. | |
| IAllowSelectorSettings | MatchPlaceholder (string placeholderToMatch) |
| Found elements must match the placeholder supplied in order to interact with them. | |
| IAllowSelectorSettings | MatchPlaceholderRegex (string placeholderToMatch) |
| Found elements must match the placeholder regular expression supplied in order to interact with them. | |
| IAllowSelectorSettings | MatchSrc (string srcToMatch) |
| Found elements must match the src supplied in order to interact with them. | |
| IAllowSelectorSettings | MatchSrcRegex (string srcToMatch) |
| Found elements must match the src regular expression supplied in order to interact with them. | |
| IAllowSelectorSettings | MatchText (string textToMatch) |
| Found elements must match the text supplied in order to interact with them. | |
| IAllowSelectorSettings | MatchTextRegex (string textToMatch) |
| Found elements must match the text regular expression supplied in order to interact with them. | |
| IAllowSelectorSettings | MatchValue (string valueToMatch) |
| Found elements must match the value supplied in order to interact with them. | |
| IAllowSelectorSettings | MatchValueRegex (string valueToMatch) |
| Found elements must match the value regular expression supplied in order to interact with them. | |
| void | Remove () |
| Remove this selector from the current Unit of Work. | |
| IAllowSelectorSettings | WithStopOnNotFound (bool stopOnNotFound) |
| Stop the workflow if this selector is not found. | |
| IAllowSelectorSettings | CallIfFound (CallIfDelegate callIfFound) |
| IAllowSelectorSettings | CallIfNotFound (CallIfDelegate callIfNotFound) |
| IAllowSelectorSettings | WithImage (GPALFile imageToFindPath) |
| Define an image to match on-screen. The top left corner is used as the start of the element. Image matching forces hardware interaction with this element. | |
| IAllowSelectorSettings | WithHRef (string HRefFullOrPartial) |
| Found elements must carry this href, in full or in part, in order to interact with them. It used to store the text on the settings and stop there, where nothing read it, so the selector matched everything it found. | |
| IAllowSelectorSettings | ContainsAttribute (string attributeToMatch) |
| IAllowSelectorSettings | ContainsHRef (string hrefToMatch) |
| IAllowSelectorSettings | ContainsPlaceholder (string placeholderToMatch) |
| IAllowSelectorSettings | ContainsSrc (string srcToMatch) |
| IAllowSelectorSettings | ContainsText (string textToMatch) |
| IAllowSelectorSettings | ContainsValue (string valueToMatch) |
| Public Member Functions inherited from GenerallyPositive.IAllowCallBack | |
| IAllowSelectorSettings | CallIfFound (Browser.Browser.CallIfDelegate CallIfFound) |
| IAllowSelectorSettings | CallIfNotFound (Browser.Browser.CallIfDelegate CallIfNotFound) |
Static Public Member Functions | |
| static implicit | operator string (Selector sel) |
| static implicit | operator Selector (string selectorString) |
| static bool | IsLikelyXPath (string s) |
| Rudimentary but reasonably effective guess: is this string more likely an XPath than a CSS selector? | |
Properties | |
| SelectorSettings | SelectorSettings [get, set] |
| SelectorType | SelectorType [get, set] |
| IAllowSelectorSettings | WithHardware [get] |
| Interact with this element using hardware emulation. | |
| IAllowSelectorSettings | WithJavaScript [get] |
| Interact with this element using javascript injected into the page. | |
| IAllowSelectorSettings | WithSelenium [get] |
| Interact with this element using Selenium [default]. | |
| int | ElementsFoundAndMatchedCount [get, set] |
| Count of elements found for this selector (after match). | |
| InteractionType | InteractionType [get, set] |
| Defined method to interact with this element. NOTE: This can be overridden in the workflow. | |
| Browser.Browser | Browser [get, set] |
| Browser associated with this selector. | |
| string | SelectorPath [get] |
| Returns the first defined selector path string. | |
| List< SelectorSettings.SelectorPathEntry > | SelectorPaths [get] |
| The selector paths defined to locate elements. | |
| bool | SearchForSelector [get] |
| Search for elements on the page. | |
| int | OffsetX [get, set] |
| X offset from the top left corner to interact with the element, image match included. Also used in drag-and-drop as the grab point the DeltaX moves from. | |
| int | OffsetY [get, set] |
| Y offset fromm the top left corner to interact with the element, image match included. Also used in drag-and-drop as the grab point the DeltaY moves from. | |
| int | DeltaX [get, set] |
| Drag-and-drop deltaX to move from the elemenet.X + OffsetX. | |
| int | DeltaY [get, set] |
| Drag-and-drop deltaY to move from the elemenet.Y + OffsetY. | |
| string | Name [get, set] |
| The name you gave this selector, or one assigned by GPAL [selector1, selector2...] Used in Information and Exception channel messages. Also used as column headers when saving to a file. | |
| bool | SimulateMouse [get] |
| Simulate moving the mouse to interact with this element? | |
| bool | StopOnNotFound [get] |
| Stop the workflow if no elements are found for this selector. | |
| List< GPALElement > | WebSelectorFoundResults [get, set] |
| List< GPALElement > | WebSelectorMatchedResults [get, set] |
GPAL Selector used to locate Application and Browser elements.
Instantiated with GPAL.Selector.
Definition at line 55 of file Selector.cs.
| delegate CallIfStatus GenerallyPositive.Selector.appMatchingFunction | ( | List< GPALAutomationElement > | foundElements, |
| out List< GPALAutomationElement > | matchedElements, | ||
| out bool | matchedAll, | ||
| Selector | selector, | ||
| bool | ExactMatch = true ) |
Custom matching function, must return all matched elements and an indicator as to whether all elements matched (for the purpose of the custom match)
More than one custom matching method can be define, they will be chained based upon the return value.
| foundElements | All elements found for the selector |
| matchedElements | All matched elements (or all found) |
| matchedAll | True if all found elements matched. False for only partial match. |
| selector | The selector used for the found elements |
| IAllowSelectorSettings GenerallyPositive.Selector.CallIfFound | ( | CallIfDelegate | callIfFound | ) |
Definition at line 560 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.CallIfNotFound | ( | CallIfDelegate | callIfNotFound | ) |
Definition at line 565 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.ContainsAttribute | ( | string | attributeToMatch | ) |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 1109 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.ContainsHRef | ( | string | hrefToMatch | ) |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 1117 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.ContainsPlaceholder | ( | string | placeholderToMatch | ) |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 1125 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.ContainsSrc | ( | string | srcToMatch | ) |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 1133 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.ContainsText | ( | string | textToMatch | ) |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 1141 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.ContainsValue | ( | string | valueToMatch | ) |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 1149 of file Selector.cs.
|
static |
Rudimentary but reasonably effective guess: is this string more likely an XPath than a CSS selector?
Definition at line 1054 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.MatchAttribute | ( | string | attributeToMatch | ) |
Found elements must have attribute supplied in order to interact with them.
| attributeToMatch | text to match |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 406 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.MatchAttributeRegex | ( | string | attributeToMatch | ) |
Found elements must have the attribute specified by regular expression in order to interact with them.
| attributeToMatch | text to match |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 417 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.MatchFunction | ( | Selector.appMatchingFunction | matchingFunction | ) |
Your custom application element matching function to examine found elements and return only those you 'match'.
| matchingFunction | Your matching function |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 384 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.MatchFunction | ( | Selector.webMatchingFunction | matchingFunction | ) |
Your custom web element matching function to examine found elements and return only those you 'match'.
| matchingFunction | Your matching function |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 395 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.MatchHRef | ( | string | hrefToMatch | ) |
Found elements must match the HRef supplied in order to interact with them.
| hrefToMatch | HRef to match |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 428 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.MatchHRefRegex | ( | string | hrefToMatch | ) |
Found elements must match the HRef regular expression supplied in order to interact with them.
| hrefToMatch | HRef to match |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 439 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.MatchPlaceholder | ( | string | placeholderToMatch | ) |
Found elements must match the placeholder supplied in order to interact with them.
| placeholderToMatch | Placeholder to match |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 450 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.MatchPlaceholderRegex | ( | string | placeholderToMatch | ) |
Found elements must match the placeholder regular expression supplied in order to interact with them.
| placeholderToMatch |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 461 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.MatchSrc | ( | string | srcToMatch | ) |
Found elements must match the src supplied in order to interact with them.
| srcToMatch | Src to match |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 472 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.MatchSrcRegex | ( | string | srcToMatch | ) |
Found elements must match the src regular expression supplied in order to interact with them.
| srcToMatch | Src to match |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 483 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.MatchText | ( | string | textToMatch | ) |
Found elements must match the text supplied in order to interact with them.
| textToMatch | Text to match |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 494 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.MatchTextRegex | ( | string | textToMatch | ) |
Found elements must match the text regular expression supplied in order to interact with them.
| textToMatch | Text to match |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 505 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.MatchValue | ( | string | valueToMatch | ) |
Found elements must match the value supplied in order to interact with them.
| valueToMatch | Value to match |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 516 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.MatchValueRegex | ( | string | valueToMatch | ) |
Found elements must match the value regular expression supplied in order to interact with them.
| valueToMatch | Value to match |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 527 of file Selector.cs.
|
static |
Definition at line 994 of file Selector.cs.
|
static |
Definition at line 988 of file Selector.cs.
| void GenerallyPositive.Selector.Remove | ( | ) |
Remove this selector from the current Unit of Work.
Definition at line 536 of file Selector.cs.
| Selector GenerallyPositive.Selector.ToGPALObject | ( | ) |
Implements GenerallyPositive.IAllowToGPALObject< TResult >.
Definition at line 85 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.UseAttribute | ( | string | attributeName | ) |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 374 of file Selector.cs.
| delegate CallIfStatus GenerallyPositive.Selector.webMatchingFunction | ( | List< IGPALElement > | foundElements, |
| out List< IGPALElement > | matchedElements, | ||
| out bool | matchedAll, | ||
| Selector | selector, | ||
| bool | ExactMatch = true ) |
Custom matching function, must return all matched elements and an indicator as to whether all elements matched (for the purpose of the custom match)
More than one custom matching method can be define, they will be chained based upon the return value.
| foundElements | All elements found for the selector |
| matchedElements | All matched elements (or all found) |
| matchedAll | True if all found elements matched. False for only partial match. |
| selector | The selector used for the found elements |
| IAllowSelectorSettings GenerallyPositive.Selector.WithAutomationID | ( | string | automationID | ) |
Define Name used to find elements by name attribute.
Application only.
| Name | The name |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 240 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithClassName | ( | string | className | ) |
Define Name used to find elements by name attribute.
Application only.
| Name | The name |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 228 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithCSS | ( | string | css | ) |
Define CSS used to find elements.
Browser only.
| css | The CSS |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 168 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithDeltaX | ( | int | deltaX | ) |
Define the x offset from the Top Left corner to perform clicks.
| offsetX | X offset |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 322 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithDeltaY | ( | int | deltaY | ) |
Define the y offset from the Top Left corner to perform clicks.
| offsetY | Y offset |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 333 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithHRef | ( | string | HRefFullOrPartial | ) |
Found elements must carry this href, in full or in part, in order to interact with them.
It used to store the text on the settings and stop there, where nothing read it, so the selector matched everything it found.
| HRefFullOrPartial | The href, whole or any part of it |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 595 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithImage | ( | GPALFile | imageToFindPath | ) |
Define an image to match on-screen.
The top left corner is used as the start of the element.
Image matching forces hardware interaction with this element.
| imagePath | Filename of the image to load |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 578 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithImage | ( | Image | image | ) |
Define an image to match on-screen.
The top left corner is used as the start of the element.
Image matching forces hardware interaction with this element.
| image | The image to match |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 286 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithImage | ( | string | base64String | ) |
Define an image to match on-screen.
The top left corner is used as the start of the element.
Image matching forces hardware interaction with this element.
| imagePath | Filename of the image to load |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 265 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithName | ( | string | name | ) |
Define Name used to find elements by name attribute.
Application only.
| Name | The name |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 216 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithOffsetX | ( | int | offsetX | ) |
Define the x offset from the Top Left corner to perform clicks.
| offsetX | X offset |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 344 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithOffsetY | ( | int | offsetY | ) |
Define the y offset from the Top Left corner to perform clicks.
| offsetY | Y offset |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 355 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithPlaceholder | ( | string | placeholder | ) |
Define the placeholder used to find elements, matched in full against the placeholder attribute.
Browser only.
| placeholder | The placeholder, as the page has it |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 252 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithSearchForSelector | ( | bool | searchForElement | ) |
Search for a matching image when using hardware emulation or image matching.
Finding an element on page involves scrolling down the page (sending Page Down key presses).
.
| searchForElement | True to search for the element/image False to just look on the current page. |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 299 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithSelectorName | ( | string | name | ) |
A common name for this selector.
Used in Information and Exception channel messages.
| name | The selector name |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 311 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithSimulateMouse | ( | bool | moveWithArc | ) |
Simulate a human moving the mouse when interacting with this element. Implies hardware input.
| moveWithArc | True to move the mouse to the element. False [default] jump the mouse to the element. |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 366 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithStopOnNotFound | ( | bool | stopOnNotFound | ) |
Stop the workflow if this selector is not found.
| stopOnNotFound | True to stop the workflow. False [default] continue the workflow. |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 555 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithText | ( | string | text | ) |
Define Text used to find elements by text attribute.
Browser only.
| text | The text |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 192 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithValue | ( | string | value | ) |
Define Value used to find elements by value attribute.
Browser only.
| value | The value |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 204 of file Selector.cs.
| IAllowSelectorSettings GenerallyPositive.Selector.WithXPath | ( | string | xPath | ) |
Define XPath used to find elements
Both.
| xPath | The XPath |
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 180 of file Selector.cs.
|
getset |
Browser associated with this selector.
Definition at line 757 of file Selector.cs.
|
getset |
Drag-and-drop deltaX to move from the elemenet.X + OffsetX.
Definition at line 837 of file Selector.cs.
|
getset |
Drag-and-drop deltaY to move from the elemenet.Y + OffsetY.
Definition at line 852 of file Selector.cs.
|
getset |
Count of elements found for this selector (after match).
Definition at line 650 of file Selector.cs.
|
getset |
Defined method to interact with this element.
NOTE: This can be overridden in the workflow.
Definition at line 742 of file Selector.cs.
|
getset |
The name you gave this selector, or one assigned by GPAL [selector1, selector2...]
Used in Information and Exception channel messages.
Also used as column headers when saving to a file.
Definition at line 869 of file Selector.cs.
|
getset |
X offset from the top left corner to interact with the element, image match included. Also used in drag-and-drop as the grab point the DeltaX moves from.
Definition at line 806 of file Selector.cs.
|
getset |
Y offset fromm the top left corner to interact with the element, image match included. Also used in drag-and-drop as the grab point the DeltaY moves from.
Definition at line 822 of file Selector.cs.
|
get |
Search for elements on the page.
Definition at line 794 of file Selector.cs.
|
get |
Returns the first defined selector path string.
Definition at line 765 of file Selector.cs.
|
get |
The selector paths defined to locate elements.
Definition at line 776 of file Selector.cs.
|
getset |
Definition at line 59 of file Selector.cs.
|
getset |
Definition at line 71 of file Selector.cs.
|
get |
Simulate moving the mouse to interact with this element?
Definition at line 932 of file Selector.cs.
|
get |
Stop the workflow if no elements are found for this selector.
Definition at line 943 of file Selector.cs.
|
getset |
Definition at line 951 of file Selector.cs.
|
getset |
Definition at line 967 of file Selector.cs.
|
get |
Interact with this element using hardware emulation.
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 611 of file Selector.cs.
|
get |
Interact with this element using javascript injected into the page.
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 624 of file Selector.cs.
|
get |
Interact with this element using Selenium [default].
Implements GenerallyPositive.IAllowSelectorSettings.
Definition at line 637 of file Selector.cs.