-
Notifications
You must be signed in to change notification settings - Fork 211
/
C001056.yaml
163 lines (163 loc) · 5 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
bioguide: C001056
contact_form:
method: post
action: /contact
steps:
- visit: "http://www.cornyn.senate.gov/contact"
- check:
- name: "submitted[please_select_one]"
selector: "#edit-submitted-please-select-one-1"
value: contact_discuss
- wait:
- value: 1
- select:
- name: "submitted[issue]"
selector: "#edit-submitted-issue"
value: $TOPIC
required: true
options:
Abortion: abortion
Agriculture: agriculture
Arts and Humanities: arts_and_humanities
Banking: banking
Budget: budget
Communications: communications
Crime/Law Enforcement: law_enforcement
Defense: defense
Education: education
Election Reform: election_reform
Energy: energy
Environment: environment
Finance: finance
Firearms: firearms
Foreign Affairs: foreign_affairs
Government Operations/Affairs: government_operations/Affairs
Health Care: health_care
Homeland Security: homeland_security
Housing: housing
Immigration: immigration
Interior: interior
Judiciary: judiciary
Labor: labor
Medicare: medicare
Picture Request: picture_request
Religion: religion
Service Academies: service_academies
Small Business: small_business
Social Security: social_security
Taxes/Economy: taxes
Tour Request: tour Request
Trade: trade
Transportation: transportation
Veterans: veterans
Welfare: welfare
- name: "submitted[state]"
selector: "#edit-submitted-state"
value: $ADDRESS_STATE_POSTAL_ABBREV
required: true
options:
Alabama: AL
Alaska: AK
American Samoa: AS
Arizona: AZ
Arkansas: AR
California: CA
Colorado: CO
Connecticut: CT
Delaware: DE
District of Columbia: DC
Florida: FL
Georgia: GA
Guam: GU
Hawaii: HI
Idaho: ID
Illinois: IL
Indiana: IN
Iowa: IA
Kansas: KS
Kentucky: KY
Louisiana: LA
Maine: ME
Marshall Islands: MH
Maryland: MD
Massachusetts: MA
Michigan: MI
Minnesota: MN
Mississippi: MS
Missouri: MO
Montana: MT
Nebraska: NE
Nevada: NV
New Hampshire: NH
New Jersey: NJ
New Mexico: NM
New York: NY
North Carolina: NC
North Dakota: ND
Northern Marianas Islands: MP
Ohio: OH
Oklahoma: OK
Oregon: OR
Palau: PW
Pennsylvania: PA
Puerto Rico: PR
Rhode Island: RI
South Carolina: SC
South Dakota: SD
Tennessee: TN
Texas: TX
Utah: UT
Vermont: VT
Virgin Islands: VI
Virginia: VA
Washington: WA
West Virginia: WV
Wisconsin: WI
Wyoming: WY
- fill_in:
- name: "submitted[prefix_optional]"
selector: "#edit-submitted-prefix-optional"
value: $NAME_PREFIX
required: false
- name: "submitted[first_name]"
selector: "#edit-submitted-first-name"
value: $NAME_FIRST
required: true
- name: "submitted[last_name]"
selector: "#edit-submitted-last-name"
value: $NAME_LAST
required: true
- name: "submitted[message]"
selector: "#edit-submitted-message"
value: $MESSAGE
required: true
- name: "submitted[address_1]"
selector: "#edit-submitted-address-1"
value: $ADDRESS_STREET
required: true
- name: "submitted[city]"
selector: "#edit-submitted-city"
value: $ADDRESS_CITY
required: true
- name: "submitted[zip_code]"
selector: "#edit-submitted-zip-code"
value: $ADDRESS_ZIP5
required: true
- name: "submitted[phone_number_optional]"
selector: "#edit-submitted-phone-number-optional"
value: $PHONE
required: false
- name: "submitted[email_address]"
selector: "#edit-submitted-email-address"
value: $EMAIL
required: true
- javascript:
- value: document.querySelector("#edit-submitted-message").value = document.querySelector("#edit-submitted-message").value.replace(/"/g, '');
- click_on:
- value: Submit
selector: "#webform-client-form-7 input[name='op']"
success:
headers:
status: 200
body:
contains: Thank you