Permalink
Fetching contributors…
Cannot retrieve contributors at this time
165 lines (164 sloc) 4.45 KB
bioguide: H001045
contact_form:
method: post
action: ./
steps:
- visit: "https://harperforms.house.gov/forms/writeyourrep/"
- fill_in:
- name: ctl00$ctl10$FirstName
selector: "#ctl00_ctl10_FirstName"
value: $NAME_FIRST
required: true
- name: ctl00$ctl10$LastName
selector: "#ctl00_ctl10_LastName"
value: $NAME_LAST
required: true
- name: ctl00$ctl10$Street
selector: "#ctl00_ctl10_Street"
value: $ADDRESS_STREET
required: true
- name: ctl00$ctl10$City
selector: "#ctl00_ctl10_City"
value: $ADDRESS_CITY
required: true
- name: ctl00$ctl10$Zip
selector: "#ctl00_ctl10_Zip"
value: $ADDRESS_ZIP5
required: true
- name: ctl00$ctl10$Email
selector: "#ctl00_ctl10_Email"
value: $EMAIL
required: true
- name: ctl00$ctl10$Subject
selector: "#ctl00_ctl10_Subject"
value: $SUBJECT
required: true
- name: ctl00$ctl10$Body
selector: "#ctl00_ctl10_Body"
value: $MESSAGE
required: true
- select:
- name: ctl00$ctl10$PrefixList
selector: "#ctl00_ctl10_PrefixList"
value: $NAME_PREFIX
required: true
options:
- Mr.
- Mrs.
- Dr.
- Ms.
- name: ctl00$ctl10$State
selector: "#ctl00_ctl10_State"
value: $ADDRESS_STATE_POSTAL_ABBREV
required: true
options:
- AL
- AK
- AZ
- AR
- CA
- CO
- CT
- DE
- DC
- FL
- GA
- HI
- ID
- IL
- IN
- IA
- KS
- KY
- LA
- ME
- MD
- MA
- MI
- MN
- MS
- MO
- MT
- NE
- NV
- NH
- NJ
- NM
- NY
- NC
- ND
- OH
- OK
- OR
- PA
- RI
- SC
- SD
- TN
- TX
- UT
- VT
- VA
- WA
- WV
- WI
- WY
- AA
- AE
- AP
- FM
- GU
- MH
- MP
- PR
- VI
- name: ctl00$ctl10$IssuesList
selector: "#ctl00_ctl10_IssuesList"
value: $TOPIC
required: true
options:
Agriculture and Food: "65907"
Animals: "65902"
Armed Forces and National Security: "65872"
"Arts, Culture, Religion": "65845"
"Civil Rights and Liberties, Minority Issues": "65829"
Commerce: "65811"
Congress: "65789"
Crime and Law Enforcement: "65775"
Economics and Public Finance: "65749"
Education: "65906"
Energy: "65707"
Environmental Protection: "65690"
Families: "65675"
Finance and Financial Sector: "65665"
Foreign Trade and International Finance: "65648"
Government Operations and Politics: "65634"
Health Care: "65905"
Housing and Community Development: "65538"
Immigration: "65524"
International Affairs: "65514"
Labor and Employment: "65494"
Law: "65478"
Native Americans: "65460"
Public Lands and Natural Resources: "65453"
"Science, Technology, Communications": "65438"
Social Sciences and History: "65414"
Social Welfare: "65406"
Sports and Recreation: "65400"
Taxation: "65392"
Transportation and Public Works: "65904"
"Veterans' Affairs": "65340"
- check:
- name: ctl00$ctl10$ReplyChoice
selector: "#ctl00_ctl10_ReplyChoice_0"
value: Respond
- javascript:
- value: document.querySelector("#ctl00_ctl10_Body").value = document.querySelector("#ctl00_ctl10_Body").value.replace(/"/g, '');
- click_on:
- value: Submit
selector: "#ctl00_ctl10_SubmitButton"
success:
headers:
status: 200
body:
contains: Thank you