-
Notifications
You must be signed in to change notification settings - Fork 211
/
K000384.yaml
146 lines (146 loc) · 5.21 KB
/
K000384.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
bioguide: K000384
contact_form:
method: POST
action: ""
steps:
- visit: https://www.kaine.senate.gov/contact/share-your-opinion
- find:
- selector: "#input-B388AE6D-5056-A066-6018-629F799184D7"
- fill_in:
- name: first
selector: "#input-B388AE6D-5056-A066-6018-629F799184D7"
value: $NAME_FIRST
required: Yes
- name: last
selector: "#input-B388B2AD-5056-A066-6058-0338F62B5B7D"
value: $NAME_LAST
required: Yes
- name: addr1
selector: "#input-B388AC96-5056-A066-60C0-339424510C66"
value: $ADDRESS_STREET
required: Yes
- name: city
selector: "#input-B388AFFC-5056-A066-60C0-4C8084FE94C6"
value: $ADDRESS_CITY
required: Yes
- name: zip
selector: "#input-B388B27E-5056-A066-6051-28AF70687AB9"
value: $ADDRESS_ZIP5
required: Yes
- name: phone
selector: "#input-B388ADC5-5056-A066-60D0-9122B0D07413"
value: $PHONE
required: Yes
- name: email
selector: "#email"
value: $EMAIL
required: Yes
- name: subject
selector: "#input-B388AA60-5056-A066-602C-2DADE3D8A6F7"
value: $SUBJECT
required: Yes
- name: message
selector: "#input-B388B084-5056-A066-6090-BF0C2E9BE07B"
value: $MESSAGE
required: Yes
- select:
- name: input_B388AD1E-5056-A066-6041-2A83C6ADF5C8
selector: "#prefixtoggle"
value: $NAME_PREFIX
required: Yes
options:
- "Mr."
- "Ms."
- "Mrs."
- "Mx."
- "Miss"
- "Mr. and Mrs."
- "Dr."
- name: topic
selector: "#input-B388ADF0-5056-A066-6033-31CCE02BC3DA"
value: $TOPIC
required: Yes
options:
--- Please Select an Option ---: ""
Abortion: Abortion
Agriculture: Agriculture
Animal Welfare: Animal Welfare
Arts & Humanities: Arts & Humanities
Banking & Financial Reform: Banking & Financial Reform
Budget: Budget
Business: Business
Campaign Finance Reform: Campaign Finance Reform
Child Welfare: Child Welfare
Civil Rights: Civil Rights
Congress & Executive Office Reform: Congress & Executive Office Reform
Crime & Law Enforcement: Crime & Law Enforcement
Cybersecurity: Cybersecurity
DC Statehood: D.C. Statehood
Disaster Relief: Disaster Relief
Domestic Violence/Sexual Assault: Domestic Violence/Sexual Assault
Economy: Economy
Education: Education
Election Issues: Election Issues
Emergency Management: Emergency Management
Energy: Energy
Environment & Wildlife Protection: Environment & Wildlife Protection
Federal Employees: Federal Employees
Foreign Aid: Foreign Aid
Foreign Relations: Foreign Relations
Foreign Trade: Foreign Trade
Gun Violence: Gun Violence
Health Care & Affordable Care Act: Health Care & Affordable Care Act
Homeland Security: Homeland Security
Housing: Housing
Immigration: Immigration
Intellectual Property: Intellectual Property
Intelligence: Intelligence
Judicial Issues & Nominations: Judicial Issues & Nominations
Medicare: Medicare
Mental Health: Mental Health
Military/Armed Services/Defense: Military/Armed Services/Defense
Native American Issues: Native American Issues
Postal Issues: Postal Issues
Reporter/Media Inquiry: Reporter/Media Inquiry
Public Lands & Natural Resources: Public Lands & Natural Resources
Public Welfare: Public Welfare
Rules & Ethics: Rules & Ethics
Science & Technology: Science & Technology
Second Amendment Rights: Second Amendment Rights
Small Business: Small Business
Social Security: Social Security
Space: Space
Supreme Court: Supreme Court Vacancy
Taxes: Taxes
Telecommunications & Internet: Telecommunications & Internet
Transportation & Infrastructure: Transportation & Infrastructure
Veterans: Veterans
Womens Issues: Womens Issues
Workforce & Labor: Workforce & Labor
- name: response
selector: "#input-B388B02A-5056-A066-602B-852F0E0961D4"
value: "Yes"
required: Yes
- name: newsletter
selector: "#newslettertoggle"
value: "Yes"
required: Yes
- javascript:
- value: "document.querySelector('#issues-form-select-list-0').checked = true;"
- javascript:
- value: document.querySelector("#input-B388B084-5056-A066-6090-BF0C2E9BE07B").value = document.querySelector("#input-B388B084-5056-A066-6090-BF0C2E9BE07B").value.replace(/"/g, '');
- wait:
- value: 2
- click_on:
- value: Submit
selector: ".controls button[type='submit']"
- wait:
- value: 2
- find:
- selector: "h2"
value: "Thank You"
success:
headers:
status: 200
body:
contains: Thanks for taking the time to share your thoughts with me.