Permalink
Fetching contributors…
Cannot retrieve contributors at this time
146 lines (146 sloc) 3.79 KB
bioguide: I000056
contact_form:
method: post
action: "/htbin/formproc/CA49_Contact.txt%26display%3D/contact-thank%26nobase%26fpGetVer%3D2"
steps:
- visit: "http://issa.house.gov/contact"
- fill_in:
- name: firstName
selector: "form.contactForm input[name='firstName']"
value: $NAME_FIRST
required: true
- name: lastName
selector: "form.contactForm input[name='lastName']"
value: $NAME_LAST
required: true
- name: address
selector: "form.contactForm input[name='address']"
value: $ADDRESS_STREET
required: true
- name: city
selector: "form.contactForm input[name='city']"
value: $ADDRESS_CITY
required: true
- name: zip
selector: "form.contactForm input[name='zip']"
value: $ADDRESS_ZIP5
required: true
- name: phone
selector: "form.contactForm input[name='phone']"
value: $PHONE
required: true
- name: email
selector: "form.contactForm input[name='email']"
value: $EMAIL
required: true
- name: subject
selector: "form.contactForm input[name='subject']"
value: $SUBJECT
required: true
- name: comments
selector: "form.contactForm textarea[name='comments']"
value: $MESSAGE
required: true
- select:
- name: state
selector: "form.contactForm select[name='state']"
value: $ADDRESS_STATE_POSTAL_ABBREV
required: true
options:
- Please Select
- AL
- AK
- AZ
- AR
- CA
- CO
- CT
- DE
- DC
- FL
- GA
- HI
- ID
- IN
- IL
- 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
- name: topic
selector: "form.contactForm select[name='topic']"
value: $TOPIC
required: true
options:
- Abortion
- Agriculture
- Banking and Insurance
- Campaigns and Elections
- Congressional / Governmental Reform
- Education
- Energy
- Environment
- Federal Budget
- Firearms
- Foreign Affairs
- Health Care / Medical and Medicaid
- Housing
- Immigration
- Interior Resources
- Internet
- Jobs and the Economy
- Judicial / Constitutional Services
- Labor
- National Security / Defense
- Prescription Drugs
- Science and Technology
- "Social, Moral and Religious Issues"
- Social Security
- Substance Abuse / Illegal Drugs
- Taxes
- Telecommunications
- Trade
- Transportation
- Veterans
- War on Terrorism
- Other
- click_on:
- value: Submit
selector: "form.contactForm input[name='submit']"
success:
headers:
status: 200
body:
contains: Someone will reach out to you shortly