-
Notifications
You must be signed in to change notification settings - Fork 211
/
S001194.yaml
134 lines (134 loc) · 4.02 KB
/
S001194.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
bioguide: S001194
contact_form:
method: post
action: /contact
steps:
- visit: "https://www.schatz.senate.gov/contact"
- select:
- name: actions
selector: "#actions"
value: opinion
required: true
options:
"--Select an Option--": select
Request help with a federal Agency: federal_agency
Schedule a Meeting with Senator Schatz or Staff: meeting
Request a Flag to be flown over the Capitol: flag
Request help with a tour of the D.C. area: tours
Apply for an Internship or Academy Nomination: students
Share your opinion or comments on bills or other issues: opinion
- wait:
- value: 3
- fill_in:
- name: fname
selector: "#fname"
value: $NAME_FIRST
required: true
- name: lname
selector: "#lname"
value: $NAME_LAST
required: true
- name: mailing_streetAddress1
selector: "#mailing_streetAddress1"
value: $ADDRESS_STREET
required: true
- name: mailing_city
selector: "#mailing_city"
value: $ADDRESS_CITY
required: true
- name: mailing_zipCode
selector: "#mailing_zipCode"
value: $ADDRESS_ZIP5
required: true
- name: email_address
selector: "#email"
value: $EMAIL
required: true
- name: verify_email
selector: "#verify_email"
value: $EMAIL
required: true
- name: message
selector: "#message"
value: $MESSAGE
required: true
- select:
- name: salutation
selector: "#salutation"
value: $NAME_PREFIX
required: true
options:
- Mr.
- Ms.
- Mrs.
- Miss
- Dr.
- name: subject
selector: "#subject"
value: $TOPIC
required: true
options:
Agriculture: AGR
Animal Welfare: ANIMAL
Arts and Humanities: ART
Aviation: AVIATION
Banking: BANKS
Budget: BUD
Census: CENSUS
Children/Family/Adoption: FAMILY
Civil Rights: CIV
Technology/Telecommunications: COMM
Defense: DEF
Education: EDU
Elections and Campaign Finance and Congress: ELECT
Energy: ENE
Environment: ENV
Federal Workforce: FEDWORK
Foreign Relations: FORAFF
Grants: GRANTS
Gun Control: GUN
Native Hawaiians: HAWAIIAN
Health: HEA
Help With a Federal Agency: CASEWORK
Homeland Security: HOM
Immigration: IMM
Native Americans and Indigenous Peoples: INDIAN
Intellectual Property: INT PROP
Intelligence: INTEL
Judiciary: JUD
Labor: LABOR
Maritime: MARITIME
Natural Resources: NATURALRES
Nutrition: NUTRITION
Oceans and Fisheries: OCEANS
Postal Service: POSTAL
Religion: RELIGION
Science and Space: SCIENCE
Seniors: AGE
Small Business and Economic Development: BUS
Social Security: SSEC
Tax: TAX
Territories and Insular Affairs: TER
Tourism: TOURISM
"Transportation & Infrastructure": TRA
Trade: TRADE
Veterans: VET
Welfare: WEL
"Women's Issues": WOMEN
- check:
- name: response
selector: "#response_y"
value: "Y"
required: true
- javascript:
- value: document.querySelector("#message").value = document.querySelector("#message").value.replace(/"/g, '');
- click_on:
- value: Send
selector: "#side-search-btn"
- wait:
- value: 3
success:
headers:
status: 200
body:
contains: Thank you