-
Notifications
You must be signed in to change notification settings - Fork 211
/
S000148.yaml
185 lines (185 loc) · 5.98 KB
/
S000148.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
bioguide: S000148
contact_form:
method: post
action: /contact/email-chuck
steps:
- visit: "http://www.schumer.senate.gov/contact/email-chuck"
- javascript:
- value: "Array.prototype.forEach.call(document.querySelectorAll('style,[rel=\"stylesheet\"],[type=\"text/css\"]'), function(element){ try{ element.parentNode.removeChild(element) } catch(err){} });"
- javascript:
- value: document.querySelector('.MobileHeader')?.remove()
- javascript:
- value: document.querySelector('.SiteHeader')?.remove()
- javascript:
- value: document.querySelector('.SiteLayout__siteHeader')?.remove()
# - select:
# - name: actions
# selector: "#actions"
# value: opinion
# required: true
# options:
# "--Select an Option--": select
# Share your opinion or comments on bills or other issues: opinion
# Request a flag to be flown over the Capitol: flag
# Request help with a federal agency: federal_agency
# - wait:
# - value: 3
- fill_in:
- name: input_B60C9D58-0D67-1F93-8771-1560AD920940
selector: "#input-B60C9D58-0D67-1F93-8771-1560AD920940"
value: $NAME_FIRST
required: true
- name: input_B60C9D8A-0B0E-E62F-FC37-5215BE7C3A71
selector: "#input-B60C9D8A-0B0E-E62F-FC37-5215BE7C3A71"
value: $NAME_LAST
required: true
- name: input_B6257626-B604-2E2A-FAA3-8FC5E95A8D81
selector: "#input-B6257626-B604-2E2A-FAA3-8FC5E95A8D81"
value: $ADDRESS_STREET
required: true
# - name: input-B625765B-FB87-436E-B3B3-768A02C27DE8
# selector: "#mailing_streetAddress2"
# value: $ADDRESS_STREET_2
# required: false
- name: input_B6257692-E43A-3EC7-EACA-B94D07428AFB
selector: "#input-B6257692-E43A-3EC7-EACA-B94D07428AFB"
value: $ADDRESS_CITY
required: true
- name: input_B625774B-D2DD-A9A2-9F07-DB2FEEAF8425
selector: "#input-B625774B-D2DD-A9A2-9F07-DB2FEEAF8425"
value: $ADDRESS_ZIP5
required: true
- name: input_B632FF7F-9C01-956F-DAB0-6E4659392878
selector: "#input-B632FF7F-9C01-956F-DAB0-6E4659392878"
value: $PHONE
required: true
- name: input_B6309E0B-CDAE-2C5D-DD44-EEF5F0BE04B6
selector: "#email"
value: $EMAIL
required: true
- name: input_B6309E66-CF29-D4D9-06F8-B08360A5FB88
selector: "#input-B6309E66-CF29-D4D9-06F8-B08360A5FB88"
value: $EMAIL
required: true
- name: input_B6470D8C-0E32-DD02-17CD-1C7BEB44F4CD
selector: "#input-B6470D8C-0E32-DD02-17CD-1C7BEB44F4CD"
value: $SUBJECT
required: true
- name: input_B6480058-00F4-C7DE-E832-6566ECBE8684
selector: "#input-B6480058-00F4-C7DE-E832-6566ECBE8684"
value: $MESSAGE
required: true
- select:
- name: input_B60C9D21-EAFE-B4C6-C6BA-2FE1779F8B1E
selector: "#answer-1"
value: $NAME_PREFIX
required: true
options:
- Mr.
- Mrs.
- Ms.
- Mx.
- Other.
- name: input_B625771B-F20D-F156-BFDF-A452CF9C55F7
selector: "#input-B625771B-F20D-F156-BFDF-A452CF9C55F7"
value: $ADDRESS_STATE_POSTAL_ABBREV
required: true
options:
AK: AK
AL: AL
AR: AR
AZ: AZ
CA: CA
CO: CO
CT: CT
DC: DC
DE: DE
FL: FL
GA: GA
HI: HI
IA: IA
ID: ID
IL: IL
IN: IN
KS: KS
KY: KY
LA: LA
MA: MA
MD: MD
ME: ME
MI: MI
MN: MN
MO: MO
MS: MS
MT: MT
NC: NC
ND: ND
NE: NE
NH: NH
NJ: NJ
NM: NM
NV: NV
NY: NY
OH: OH
OK: OK
OR: OR
PA: PA
RI: RI
SC: SC
SD: SD
TN: TN
TX: TX
UT: UT
VA: VA
VT: VT
WA: WA
WI: WI
WV: WV
WY: WY
- name: input_B6466C0F-DE53-EC5C-C2E8-E12ED2CD2258
selector: "#input-B6466C0F-DE53-EC5C-C2E8-E12ED2CD2258"
value: $TOPIC
required: true
options:
- Agriculture
- Animal Welfare
- Banking
- Budget
- Campaigns and Elections
- Children
- Civil Rights
- Consumer Affairs
- Defense and Military
- Education
- Environment
- Federal Emergency Management
- Foreign Relations
- Health
- Homeland Security
- Housing
- Immigration
- Judiciary
- Labor
- Medicare and Medicaid
- Seniors
- Social Security
- Taxes
- Technology
- Telecommunications
- Transportation
- Veterans
- Other
- javascript:
- value: document.querySelector("#input-B6480058-00F4-C7DE-E832-6566ECBE8684").value = document.querySelector("#input-B6480058-00F4-C7DE-E832-6566ECBE8684").value.replace(/"/g, '');
- javascript:
- value: "Array.prototype.forEach.call(document.querySelectorAll('style,[rel=\"stylesheet\"],[type=\"text/css\"]'), function(element){ try{ element.parentNode.removeChild(element) } catch(err){} });"
- click_on:
- selector: "button[type='submit'].btn"
- find:
- selector: "p"
value: "Thank you for contacting Senator Schumer."
success:
headers:
status: 200
body:
contains: Thank you for contacting Senator Schumer.