forked from unitedstates/contact-congress
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
173 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,154 +1,183 @@ | ||
bioguide: H000206 | ||
contact_form: | ||
method: POST | ||
action: http://www.harkin.senate.gov/contact_opinion.cfm | ||
method: post | ||
action: contact_opinion_proc.cfm | ||
steps: | ||
- visit: http://www.harkin.senate.gov/contact_opinion.cfm | ||
- visit: "http://www.harkin.senate.gov/contact_opinion.cfm" | ||
- fill_in: | ||
- name: fname | ||
selector: "#fname" | ||
value: $NAME_FIRST | ||
required: Yes | ||
- name: lname | ||
selector: "#lname" | ||
value: $NAME_LAST | ||
required: Yes | ||
- name: address1 | ||
selector: "#address1" | ||
value: $ADDRESS_STREET | ||
required: Yes | ||
- name: address2 | ||
selector: "#address2" | ||
value: $ADDRESS_STREET_2 | ||
- name: city | ||
selector: "#city" | ||
value: $ADDRESS_CITY | ||
required: Yes | ||
- name: zip | ||
selector: "#formcontainer input[name='zip']" | ||
value: $ADDRESS_ZIP5 | ||
required: Yes | ||
- name: email | ||
selector: "#email" | ||
value: $EMAIL | ||
required: Yes | ||
- name: hphone | ||
selector: "#hphone" | ||
value: $PHONE | ||
- name: subj | ||
selector: "#subj" | ||
value: $SUBJECT | ||
required: Yes | ||
- name: comment | ||
selector: "#comment" | ||
value: $MESSAGE | ||
required: Yes | ||
- name: fname | ||
selector: "#fname" | ||
value: $NAME_PREFIX | ||
required: true | ||
- name: lname | ||
selector: "#lname" | ||
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: zip | ||
selector: "#form input[name='zip']" | ||
value: $ADDRESS_ZIP5 | ||
required: true | ||
- name: email | ||
selector: "#email" | ||
value: $EMAIL | ||
required: true | ||
- name: hphone | ||
selector: "#hphone" | ||
value: $PHONE | ||
required: false | ||
- name: wphone | ||
selector: "#wphone" | ||
value: $PHONE | ||
required: false | ||
- name: subj | ||
selector: "#subj" | ||
value: $SUBJECT | ||
required: true | ||
- name: comment | ||
selector: "#comment" | ||
value: $MESSAGE | ||
required: true | ||
- select: | ||
- name: prefix | ||
selector: "#prefix" | ||
value: $NAME_PREFIX | ||
options: | ||
- "Mr." | ||
- "Mrs." | ||
- "Ms." | ||
- "Miss" | ||
- "Dr." | ||
- "Father" | ||
- "Father" | ||
- "Rabbi" | ||
- "Reverend" | ||
- "Sister" | ||
- "The Honorable" | ||
- "Judge" | ||
- "Professor" | ||
- "Admiral" | ||
- "Commander" | ||
- "Colonel" | ||
- "General" | ||
- "Commander" | ||
- "Lieutenant Colonel" | ||
- "First Lieutenant" | ||
- "Lieutenant" | ||
- "Petty Officer" | ||
- "Private" | ||
- "Sergeant" | ||
- "Major" | ||
- "Director" | ||
- select: | ||
- name: state | ||
selector: "#state" | ||
value: $ADDRESS_STATE_POSTAL_ABBREV | ||
required: Yes | ||
options: US_STATES_AND_MPCS | ||
- select: | ||
- name: topic | ||
selector: "#topic" | ||
value: $TOPIC | ||
required: Yes | ||
options: | ||
"Afghanistan": "Afghanistan" | ||
"Biofuels": "Biofuels" | ||
"Budget Policy Government Spending": "Budget Policy Government Spending" | ||
"Clean Air Act": "Clean Air Act" | ||
"Debt Ceiling": "Debt Ceiling" | ||
"Defense of Marriage Act": "DOMA" | ||
"Energy": "Energy" | ||
"ESEA Reauthorization": "ESEA Reauthorization" | ||
"Gas Prices": "Gas Prices" | ||
"Health Care Reform": "Health Care Reform" | ||
"Libya": "Libya" | ||
"Medicare and the Sustainable Growth Rate": "Medicare SGR" | ||
"Petroleum": "Petroleum" | ||
"Assistance with a Federal Agency": "Assistance with a Federal Agency" | ||
"Agriculture": "Agriculture" | ||
"Banking": "Banking" | ||
"Budget Policies / Deficit Reduction Efforts": "Budget Policies /Deficit Reduction Efforts" | ||
"Child Labor": "Child Labor" | ||
"Civil Rights": "Civil Rights" | ||
"Congressionally Directed Appropriations": "Congressionally Directed Appropriations" | ||
"Appropriations - Agriculture": "CDA_Agriculture" | ||
"Appropriations - Education": "CDA_Education" | ||
"Appropriations - Foreign Affairs": "CDA_Foreign Affairs" | ||
"Appropriations - Housing": "CDA_Housing" | ||
"Appropriations - Transportation": "CDA_Transportation" | ||
"Defense/Homeland Security": "Defense/Homeland Security" | ||
"Disability": "Disability" | ||
"Drug Control Policy": "Drug Control Policy" | ||
"Economy": "Economy" | ||
"Education": "Education" | ||
"Energy": "Energy" | ||
"Environment": "Environment" | ||
"Food and Nutrition": "Food and Nutrition" | ||
"Foreign Affairs": "Foreign Affairs" | ||
"Gun Control": "Gun Control" | ||
"Health": "Health" | ||
"Housing": "Housing" | ||
"Immigration and Border Control": "Immigration and Border Control" | ||
"Invitation or Request for Meeting with the Senator": "Invitation or Request for Meeting with the Senator" | ||
"Judiciary": "Judiciary" | ||
"Labor": "Labor" | ||
"Medicare/Medicaid": "Medicare/Medicaid" | ||
"Pensions": "Pensions" | ||
"Postal Issues": "Postal Issues" | ||
"Reproductive Health Care": "Reproductive Health Care" | ||
"Rural Development": "Rural Development" | ||
"Senate Administrative Matters": "Senate Administrative Matters" | ||
"Small Business": "Small Business" | ||
"Social Security": "Social Security" | ||
"Taxes": "Taxes" | ||
"Telecommunications": "Telecommunications" | ||
"Trade": "Trade" | ||
"Transportation": "Transportation" | ||
"Veterans Issues": "Veterans Issues" | ||
"Veterans Issues - Legislation Modifying Veterans Policy and Benefits": "VI_Legislation Modifying Veterans Policy and Benefits" | ||
"Veterans Issues - Assistance in Receiving Veterans Benefits": "VI_Assistance in Receiving Veterans Benefits" | ||
"Welfare Reform": "Welfare Reform" | ||
"Other": "Other" | ||
- name: state | ||
selector: "#state" | ||
value: $ADDRESS_STATE_POSTAL_ABBREV | ||
required: true | ||
options: | ||
"----Military---- ": " " | ||
"AA ": AA | ||
"AE ": AE | ||
"AP ": AP | ||
"----States---- ": " " | ||
Alabama: AL | ||
Alaska: AK | ||
Arizona: AZ | ||
Arkansas: AR | ||
California: CA | ||
Colorado: CO | ||
Connecticut: CT | ||
Delaware: DE | ||
District of Columbia: DC | ||
Florida: FL | ||
Georgia: GA | ||
Hawaii: HI | ||
Idaho: ID | ||
Illinois: IL | ||
Indiana: IN | ||
Iowa: IA | ||
Kansas: KS | ||
Kentucky: KY | ||
Louisiana: LA | ||
Maine: ME | ||
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 | ||
Ohio: OH | ||
Oklahoma: OK | ||
Oregon: OR | ||
Pennsylvania: PA | ||
Rhode Island: RI | ||
South Carolina: SC | ||
South Dakota: SD | ||
Tennessee: TN | ||
Texas: TX | ||
Utah: UT | ||
Vermont: VT | ||
Virginia: VA | ||
Washington: WA | ||
West Virginia: WV | ||
Wisconsin: WI | ||
Wyoming: WY | ||
- name: topic | ||
selector: "#topic" | ||
value: $TOPIC | ||
required: true | ||
options: | ||
Afghanistan: Afghanistan | ||
Biofuels: Biofuels | ||
Budget Policy / Government Spending: Budget Policy Government Spending | ||
Clean Air Act: Clean Air Act | ||
Debt Ceiling: Debt Ceiling | ||
Defense of Marriage Act: DOMA | ||
Energy: Energy | ||
ESEA Reauthorization: ESEA Reauthorization | ||
Gas Prices: Gas Prices | ||
Health Care Reform: Health Care Reform | ||
Libya: Libya | ||
Medicare and the Sustainable Growth Rate: Medicare SGR | ||
Petroleum: Petroleum | ||
Assistance with a Federal Agency: Assistance with a Federal Agency | ||
Agriculture: Agriculture | ||
Banking: Banking | ||
Budget Policies /Deficit Reduction Efforts: Budget Policies /Deficit Reduction Efforts | ||
Child Labor: Child Labor | ||
Civil Rights: Civil Rights | ||
Congressionally Directed Appropriations: Congressionally Directed Appropriations | ||
Appropriations - Agriculture: CDA_Agriculture | ||
Appropriations - Education: CDA_Education | ||
Appropriations - Foreign Affairs: CDA_Foreign Affairs | ||
Appropriations - Housing: CDA_Housing | ||
Appropriations - Transportation: CDA_Transportation | ||
Defense/Homeland Security: Defense/Homeland Security | ||
Disability: Disability | ||
Drug Control Policy: Drug Control Policy | ||
Economy: Economy | ||
Education: Education | ||
Environment: Environment | ||
Food and Nutrition: Food and Nutrition | ||
Foreign Affairs: Foreign Affairs | ||
Gun Control: Gun Control | ||
Health: Health | ||
Housing: Housing | ||
Immigration and Border Control: Immigration and Border Control | ||
Invitation or Request for Meeting with the Senator: Invitation or Request for Meeting with the Senator | ||
Judiciary: Judiciary | ||
Labor: Labor | ||
Medicare/Medicaid: Medicare/Medicaid | ||
Pensions: Pensions | ||
Postal Issues: Postal Issues | ||
Reproductive Health Care: Reproductive Health Care | ||
Rural Development: Rural Development | ||
Senate Administrative Matters: Senate Administrative Matters | ||
Small Business: Small Business | ||
Social Security: Social Security | ||
Taxes: Taxes | ||
Telecommunications: Telecommunications | ||
Trade: Trade | ||
Transportation: Transportation | ||
Veterans Issues: Veterans Issues | ||
Veterans Issues - Legislation Modifying Veterans Policy and Benefits: VI_Legislation Modifying Veterans Policy and Benefits | ||
Veterans Issues - Assistance in Receiving Veterans Benefits: VI_Assistance in Receiving Veterans Benefits | ||
Welfare Reform: Welfare Reform | ||
"Other/Don't Know": Other | ||
- click_on: | ||
- value: "Send Your Message To Tom" | ||
selector: "div.formcontainer input[type=submit]" | ||
- value: Send Your Message To Tom | ||
selector: "#form input[name='submit']" | ||
success: | ||
headers: | ||
status: 200 | ||
body: | ||
contains: "Thank you for expressing your views" | ||
contains: Thank you for expressing your views. |