-
Notifications
You must be signed in to change notification settings - Fork 211
/
S000244.yaml
166 lines (166 loc) · 4.54 KB
/
S000244.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
bioguide: S000244
contact_form:
method: get
action: /emailpass.aspx
steps:
- visit: "http://sensenbrenner.house.gov/contact/email.htm"
- fill_in:
- name: zip5
selector: "form.zipform input[name='zip5']"
value: $ADDRESS_ZIP5
required: true
- click_on:
- value: Submit
selector: "form.zipform input[type='submit'][value='Submit']"
- find:
- selector: "#ctl00_ctl11_ctl00_Text form input[name='required-first']"
- fill_in:
- name: required-first
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-first']"
value: $NAME_FIRST
required: true
- name: required-last
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-last']"
value: $NAME_LAST
required: true
- name: required-address
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-address']"
value: $ADDRESS_STREET
required: true
- name: required-city
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-city']"
value: $ADDRESS_CITY
required: true
- name: required-email
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-email']"
value: $EMAIL
required: true
- name: required-message
selector: "#message"
value: $MESSAGE
required: true
- select:
- name: required-prefix
selector: "#ctl00_ctl11_ctl00_Text form select[name='required-prefix']"
value: $NAME_PREFIX
required: true
options:
- Mr.
- Mrs.
- Ms.
- Mr. and Mrs.
- Miss
- Dr.
- Dr. and Mrs.
- Dr. and Mr.
- Drs.
- Professor
- The Honorable
- Reverend
- Pastor
- Representative
- The Reverend Monsignor
- The Reverend Dr.
- Sister
- Brother
- Rabbi
- Gen
- LtGen
- MajGen
- Brig Gen
- Col
- LtCol
- Maj
- Capt
- 1stLt
- 2ndLt
- CWO
- WO
- SgtMaj
- MGySgt
- 1stSgt
- MSgt
- GySgt
- SSgt
- Sgt
- Cpl
- LCpl
- PFC
- Pvt
- CMSAF
- CMSgt
- SMSgt
- MSgt
- TSgt
- SFC
- SSG
- SP
- ADM
- VADM
- RADM
- RDML
- ENS
- CDR
- LCDR
- LT
- LTJG
- LT
- LTJG
- SA
- SN
- LTJG
- PO3
- PO2
- PO1
- CPO
- SCPO
- MCPO
- Amn
- A1C
- SrA
- name: Issues1
selector: "#ctl00_ctl11_ctl00_Text form select[name='Issues1']"
value: $TOPIC
required: true
options:
Animal: ANIMAL
Budgetary Policy: BUDGET
Business/Commerce: BUSINESS
Congressional Affairs: CG-POLITICS
Defense: DEFENSE
Education: ED-CORR
Energy and Natural Resources: ENERGY
Foreign Affairs: IR-FOREIGNAFFAIRS
Health: HEALTH
Housing: HOUSING
Immigration: IMMIGRATION
Indian Affairs: INDIAN
Labor/Jobs: LABOR
Judiciary: JUDICIARY
Postal: POSTAL
Science: SCIENCE
Social Services: SOCIAL_ISSUES
Telecomm: TELECOM
Transportation: TRANSPORTATION
Homeland Security: HOMELAND_SECURITY
Trade: TRADE
Veterans Affairs: VA
Personal Issue: CASEWORK
Multiple: MULTIPLE
- check:
- name: reqresponse
selector: "#responseYes"
value: "yes"
- javascript:
- value: document.querySelector("#message").value = document.querySelector("#message").value.replace(/"/g, '');
- click_on:
- value: Send Message
selector: "#ctl00_ctl11_ctl00_Text form input[name='WR_Submit']"
- find:
- selector: "span"
value: "Thank You"
success:
headers:
status: 200
body:
contains: Thank You for your interest.