GPAL - Generally Positive Automation Library
v1.0
GPAL The Fluent Automation LIbrary
Toggle main menu visibility
Loading...
Searching...
No Matches
SelectorSet.cs
1
// =============================================================================
2
// GPAL - Generally Positive Automation Library
3
// Copyright © 2026 Software Decisions, Inc. All rights reserved.
4
//
5
// This file is part of GPAL.
6
// Licensed under the Business Source License 1.1
7
//
8
// Primary development, architecture, and vision by Michael B. Vederman,
9
// CEO of Software Decisions, Inc., Texas.
10
//
11
// Internal development maintained privately.
12
// Public releases appear on GitHub: https://github.com/SoftwareDecisionsInc/GPAL.
13
//
14
// See LICENSE for full terms, including Additional Use Grant.
15
// =============================================================================
16
17
using
System;
18
using
System.Collections.Generic;
19
using
System.ComponentModel;
20
using
System.Linq;
21
using
System.Text;
22
using
System.Threading.Tasks;
23
24
namespace
GenerallyPositive
25
{
26
public
class
SelectorSet
27
{
28
// must match SelectorSet.js
29
// lowercase first letter to map to javascript names
30
[
WithCSS
(Description=
"Method to use to find css"
)]
31
public
string
css {
get
;
set
; }
32
[
WithXPath
(Description=
"Method to use to find X Path"
)]
33
public
string
xPath {
get
;
set
; }
34
[
WithXPath
(Description =
"Method to use to find X Path"
)]
35
public
string
fullXPath {
get
;
set
; }
36
[
WithValue
(Description =
""
)]
37
public
string
value {
get
;
set
; }
38
[
WithText
(Description =
""
)]
39
public
string
text {
get
;
set
; }
40
[
MatchSrc
(Description =
""
)]
41
public
string
src {
get
;
set
; }
42
[
MatchHRef
(Description =
""
)]
43
public
string
href {
get
;
set
; }
44
[
MatchValue
(Description =
""
)]
45
public
string
matchvalue {
get
;
set
; }
46
[
MatchText
(Description =
""
)]
47
public
string
matchtext {
get
;
set
; }
48
[
MatchHRef
(Description =
""
)]
49
public
string
matchhref {
get
;
set
; }
50
[
MatchSrc
(Description =
""
)]
51
public
string
matchsrc {
get
;
set
; }
52
[
MatchPlaceholder
(Description =
""
)]
53
public
string
placeholder {
get
;
set
; }
54
public
string
tagName {
get
;
set
; }
55
[
WithSelectorName
(Description =
""
)]
56
public
string
selectorName {
get
;
set
; }
57
[
WithOffsetX
(Description =
""
)]
58
public
int
offsetX {
get
;
set
; }
59
[
WithOffsetY
(Description =
""
)]
60
public
int
offsetY {
get
;
set
; }
61
[
WithDeltaX
(Description =
""
)]
62
public
int
deltaX {
get
;
set
; }
63
[
WithDeltaY
(Description =
""
)]
64
public
int
deltaY {
get
;
set
; }
65
[
WithImage
(Description=
""
)]
66
public
string
imageData {
get
;
set
; }
67
public
List<ClientRectangle> clientRects {
get
;
set
; }
68
public
ClientRectangle
boundingRect {
get
;
set
; }
69
public
string
pageURL {
get
;
set
; }
70
71
public
class
ClientRectangle
72
{
73
public
float
top;
74
public
float
left;
75
public
float
bottom;
76
public
float
right;
77
public
float
x;
78
public
float
y;
79
public
float
width;
80
public
float
height;
81
}
82
83
public
SelectorSet()
84
{
85
86
}
87
}
88
}
89
GenerallyPositive.MatchHRef
Definition
Attributes.cs:343
GenerallyPositive.MatchPlaceholder
Definition
Attributes.cs:354
GenerallyPositive.MatchSrc
Definition
Attributes.cs:332
GenerallyPositive.MatchText
Definition
Attributes.cs:321
GenerallyPositive.MatchValue
Definition
Attributes.cs:299
GenerallyPositive.SelectorSet.ClientRectangle
Definition
SelectorSet.cs:72
GenerallyPositive.WithCSS
Definition
Attributes.cs:266
GenerallyPositive.WithDeltaX
Definition
Attributes.cs:398
GenerallyPositive.WithDeltaY
Definition
Attributes.cs:409
GenerallyPositive.WithImage
Definition
Attributes.cs:420
GenerallyPositive.WithOffsetX
Definition
Attributes.cs:376
GenerallyPositive.WithOffsetY
Definition
Attributes.cs:387
GenerallyPositive.WithSelectorName
Definition
Attributes.cs:365
GenerallyPositive.WithText
Definition
Attributes.cs:310
GenerallyPositive.WithValue
Definition
Attributes.cs:288
GenerallyPositive.WithXPath
Definition
Attributes.cs:277
GenerallyPositive
Definition
Application.cs:32
Common
SelectorSet.cs
Generated by
1.17.0