-
Notifications
You must be signed in to change notification settings - Fork 211
/
D000622.yaml
194 lines (194 loc) · 6.72 KB
/
D000622.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
bioguide: D000622
contact_form:
method: post
action: /content/contact-senator
steps:
- visit: "https://www.duckworth.senate.gov/connect/email-tammy"
- click_on:
- selector: ".opinion a"
- find:
- selector: "#input-EC0FF52F-A150-E664-CED9-88E2666AB07A"
- fill_in:
- name: "input-EC0FF52F-A150-E664-CED9-88E2666AB07A"
selector: "#input-EC0FF52F-A150-E664-CED9-88E2666AB07A"
value: $NAME_FIRST
required: true
- name: "input-EC0FF36A-E576-EA30-61EC-4116E7DED84F"
selector: "#input-EC0FF36A-E576-EA30-61EC-4116E7DED84F"
value: $NAME_LAST
required: true
- name: "input-EC0FF642-E251-9E23-21B8-8255AEB01677"
selector: "input#input-EC0FF642-E251-9E23-21B8-8255AEB01677"
value: $ADDRESS_STREET
required: true
- name: "input_EC0FF3B8-B2A6-6339-030B-FD935CCB4D72"
selector: "#input-EC0FF3B8-B2A6-6339-030B-FD935CCB4D72"
value: $ADDRESS_CITY
required: true
- name: "input_EC0FF4F7-E507-0840-DFC0-F3B3198FCADE"
selector: "#input-EC0FF4F7-E507-0840-DFC0-F3B3198FCADE"
value: $ADDRESS_ZIP5
required: true
- name: "input_EC0FF53D-FF45-B6C1-C68C-21B35BDC0880"
selector: "#input-EC0FF53D-FF45-B6C1-C68C-21B35BDC0880"
value: $PHONE
required: true
- name: "input_EC0FF573-CF10-3E7D-25BC-B5E4EA290E1B"
selector: "#input-EC0FF573-CF10-3E7D-25BC-B5E4EA290E1B"
value: $EMAIL
required: true
- name: "input_EC0FF5FC-ACA7-F6B1-1D05-FF98BB5CD029"
selector: "#email"
value: $EMAIL
required: true
- name: "input_EC0FF60D-CC0A-9D2D-E69A-268D800B6EA7"
selector: "#input-EC0FF60D-CC0A-9D2D-E69A-268D800B6EA7"
value: $SUBJECT
required: true
- name: "input_EC0FF566-EE8B-6306-F448-C9DB6C6B32A1"
selector: "#input-EC0FF566-EE8B-6306-F448-C9DB6C6B32A1"
value: $MESSAGE
required: true
- select:
- name: "input-EC0FF59D-F7B9-A668-58EF-05CFD96A0ABF"
selector: "#input-EC0FF59D-F7B9-A668-58EF-05CFD96A0ABF"
value: $NAME_PREFIX
required: true
options:
Mr.: Mr.
Ms.: Ms.
Mrs.: Mrs.
Mx.: Mx.
Professor: Professor
Dr.: Dr.
Father: Father
Sister: Sister
Rabbi: Rabbi
Reverend: Reverend
- name: "input-EC0FF32F-93B3-1635-0601-807655FED063"
selector: "#input-EC0FF32F-93B3-1635-0601-807655FED063"
value: $ADDRESS_STATE_POSTAL_ABBREV
required: true
options:
AA: AA
AE: AE
AP: AP
AL: AL
AK: AK
AR: AR
AZ: AZ
CA: CA
CO: CO
CT: CT
DC: DC
DE: DE
FL: FL
GA: GA
HI: HI
ID: ID
IL: IL
IN: IN
IA: IA
KS: KS
KY: KY
LA: LA
ME: ME
MD: MD
MA: MA
MI: MI
MN: MN
MS: MS
MO: MO
MT: MT
NE: NE
NV: NV
NH: NH
NJ: NJ
NM: NM
NY: NY
NC: NC
ND: ND
OH: OH
OK: OK
OR: OR
PA: PA
RI: RI
SC: SC
SD: SD
TN: TN
TX: TX
UT: UT
VT: VT
VA: VA
WA: WA
WV: WV
WI: WI
WY: WY
- name: "input-EC0FF559-A2D6-DC0E-6E44-EC87559E809C"
selector: "#input-EC0FF559-A2D6-DC0E-6E44-EC87559E809C"
value: $TOPIC
required: true
options:
Abortion: ABO
Agriculture, Farm Bill: Agriculture, Farm Bill
Animals: Animals
Arts and Humanities: Arts and Humanities
Banking and Finance: Banking and Finance
Budget: Budget
Campaign Finance Reform and Elections: Campaign Finance Reform and Elections
Casework: Casework
Civil Rights: Civil Rights
Children and Families: Children and Families
Defense and Military: Defense and Military
Disability Rights: Disability Rights
Economy and Jobs: Economy and Jobs
Education: Education
Energy: Energy
Environment: Environment
Federal and Postal Employees and Retirees: Federal and Postal Employees and Retirees
Foreign Relations: Foreign Relations
Government Oversight and Accountability: Government Oversight and Accountability
Gun Control: Gun Control
Health Care Policy: Health Care Policy
Homeland Security: Homeland Security
Housing: Housing
Immigration: Immigration
Indian Affairs: Indian Affairs
Judiciary and Criminal Justice Reform: Judiciary and Criminal Justice Reform
Labor: Labor
LGBTQ: LGBTQ
Medicare and Medicaid: Medicare and Medicaid
National Service and Community Service: National Service and Community Service
Nutrition and Hunger: Nutrition and Hunger
Pensions: Pensions
Regulatory Reform: Regulatory Reform
Science: Science
Senior Citizens: Senior Citizens
Small Business: Small Business
Social Security: Social Security
Space: Space
Taxes: Taxes
Technology: Technology
Telecommunications: Telecommunications
Trade: Trade
Transportation and Infrastructure: Transportation and Infrastructure
Veterans: Veterans
White House: White House
- javascript:
- value: document.getElementById('input-EC0FF53D-FF45-B6C1-C68C-21B35BDC0880').value = document.getElementById('input-EC0FF53D-FF45-B6C1-C68C-21B35BDC0880').value.replace(/(\d{3})(\d{3})(\d+)/, '$1-$2-$3')
- javascript:
- value: document.querySelector("#input-EC0FF566-EE8B-6306-F448-C9DB6C6B32A1").value = document.querySelector("#input-EC0FF566-EE8B-6306-F448-C9DB6C6B32A1").value.replace(/"/g, '');
- javascript:
- value: document.querySelector("input.btn").click();
- wait:
- value: 3
- javascript:
- value: document.querySelector("#feedbackform").removeClass("hide")
- find:
- selector: "h1"
value: "Thank You"
success:
headers:
status: 200
body:
contains: "Thank you for contacting my office."