Permalink
Fetching contributors…
Cannot retrieve contributors at this time
175 lines (174 sloc) 4.14 KB
bioguide: L000564
contact_form:
method: get
action: /forms/writeyourrep/
steps:
- visit: "http://douglamborn.house.gov/contact/leave-a-comment.htm"
- fill_in:
- name: zip5
selector: "form.zipform input[name='zip5']"
value: $ADDRESS_ZIP5
required: true
- name: zip4
selector: "form.zipform input[name='zip4']"
value: $ADDRESS_ZIP4
required: true
- click_on:
- value: Submit
selector: "form.zipform input[type='submit'][value='Submit']"
- find:
- selector: "#ctl00_ctl16_FirstName"
- fill_in:
- name: ctl00$ctl16$FirstName
selector: "#ctl00_ctl16_FirstName"
value: $NAME_FIRST
required: true
- name: ctl00$ctl16$LastName
selector: "#ctl00_ctl16_LastName"
value: $NAME_LAST
required: true
- name: ctl00$ctl16$Street
selector: "#ctl00_ctl16_Street"
value: $ADDRESS_STREET
required: true
- name: ctl00$ctl16$City
selector: "#ctl00_ctl16_City"
value: $ADDRESS_CITY
required: true
- name: ctl00$ctl16$Zip
selector: "#ctl00_ctl16_Zip"
value: $ADDRESS_ZIP5
required: true
- name: ctl00$ctl16$Phone
selector: "#ctl00_ctl16_Phone"
value: $PHONE
required: true
- name: ctl00$ctl16$Email
selector: "#ctl00_ctl16_Email"
value: $EMAIL
required: true
- name: ctl00$ctl16$Subject
selector: "#ctl00_ctl16_Subject"
value: $SUBJECT
required: true
- name: ctl00$ctl16$Body
selector: "#ctl00_ctl16_Body"
value: $MESSAGE
required: true
- select:
- name: ctl00$ctl16$PrefixList
selector: "#ctl00_ctl16_PrefixList"
value: $NAME_PREFIX
required: true
options:
- Mr.
- Mrs.
- Ms.
- Dr.
- 1LT
- 1SG
- 1st Lt
- 1stSgt
- 2d Lt
- 2LT
- 2nd Lt
- A1C
- AB
- ADM
- Amn
- BG
- BGen
- Brig Gen
- CAPT
- Capt
- CDR
- Chaplain
- Chief
- CMSAF
- CMSgt
- Col
- COL
- CPL
- Cpl
- CPO
- CPT
- CSM
- CW2
- CW3
- CW4
- CW5
- CWO-1
- CWO2
- CWO-2
- CWO3
- CWO-3
- CWO4
- CWO-4
- CWO-5
- ENS
- Gen
- GEN
- GySgt
- LCDR
- LCpl
- LT
- Lt Col
- LTC
- LtCol
- LTG
- LtGen
- LTJG
- Maj
- MAJ
- Maj Gen
- MajGen
- MCPO
- MCPON
- MG
- MGySgt
- Mmes.
- MSG
- MSgt
- PFC
- PFC
- PO1
- PO2
- PO3
- PV2
- PVT
- Pvt
- RADM
- Rank
- SA
- SCPO
- SFC
- SGM
- SGT
- Sgt
- Sgt Maj
- SgtMajMC
- SMA
- SMSgt
- SN
- SPC
- SR
- SrA
- SSG
- SSgt
- TSgt
- VADM
- WO1
- javascript:
- value: document.querySelector("#ctl00_ctl16_Body").value = document.querySelector("#ctl00_ctl16_Body").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#ctl00_ctl16_SubmitButton"
- find:
- selector: "#ctl00_ctl16_ConfirmationText"
success:
headers:
status: 200
body:
contains: Thank you for taking the time to write me.