forked from j-ro/contact-states
-
Notifications
You must be signed in to change notification settings - Fork 0
/
C001056.yaml
165 lines (165 loc) · 4.04 KB
/
C001056.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
bioguide: C001056
contact_form:
method: post
action: ""
steps:
- visit: "http://www.cornyn.senate.gov/public/index.cfm?p=ContactForm"
- fill_in:
- name: FirstName
selector: "#FirstName"
value: $NAME_FIRST
required: true
- name: LastName
selector: "#LastName"
value: $NAME_LAST
required: true
- name: Address1
selector: "#Address1"
value: $ADDRESS_STREET
required: true
- name: Address2
selector: "#Address2"
value: $ADDRESS_STREET_2
required: false
- name: City
selector: "#City"
value: $ADDRESS_CITY
required: true
- name: ZipCode
selector: "#ZipCode"
value: $ADDRESS_ZIP5
required: true
- name: PhoneNumber
selector: "#PhoneNumber"
value: $PHONE
required: true
- name: EmailAddress
selector: "#EmailAddress"
value: $EMAIL
required: true
- name: Message
selector: "#Message"
value: $MESSAGE
required: true
- select:
- name: Prefix
selector: "#Prefix"
value: $NAME_PREFIX
required: true
options:
- Mr.
- Mrs.
- Ms.
- Mr. and Mrs.
- Dr.
- Dr. and Mr.
- Dr. and Mrs.
- Reverend
- Sister
- Pastor
- name: State
selector: "#State"
value: $ADDRESS_STATE_FULL
required: true
options:
- "----Military----"
- AA
- AE
- AP
- "----States----"
- Alabama
- Alaska
- Arizona
- Arkansas
- California
- Colorado
- Connecticut
- Delaware
- District of Columbia
- Florida
- Georgia
- Hawaii
- Idaho
- Illinois
- Indiana
- Iowa
- Kansas
- Kentucky
- Louisiana
- Maine
- Maryland
- Massachusetts
- Michigan
- Minnesota
- Mississippi
- Missouri
- Montana
- Nebraska
- Nevada
- New Hampshire
- New Jersey
- New Mexico
- New York
- North Carolina
- North Dakota
- Ohio
- Oklahoma
- Oregon
- Pennsylvania
- Rhode Island
- South Carolina
- South Dakota
- Tennessee
- Texas
- Utah
- Vermont
- Virginia
- Washington
- West Virginia
- Wisconsin
- Wyoming
- name: Topic
selector: "#Topic"
value: $TOPIC
required: true
options:
- Abortion
- Agriculture
- Arts and Humanities
- Banking
- Budget
- Communications
- Crime/Law Enforcement
- Defense
- Education
- Election Reform
- Energy
- Environment
- Finance
- Firearms
- Foreign Affairs
- Government Operations/Affairs
- Healthcare
- Homeland Security
- Housing
- Immigration
- Interior
- Judiciary
- Labor
- Medicare
- Religion
- Small Business
- Social Security
- Taxes/Economy
- Trade
- Transportation
- Veterans
- Welfare
- click_on:
- value: Submit
selector: input.primaryAction
success:
headers:
status: 200
body:
contains: "Thank you for contacting Senator John Cornyn's office."