Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
67 lines (66 sloc) 2.53 KB
bioguide: B001248
contact_form:
method: get
action: /contact/contactform.htm
steps:
- visit: "http://burgess.house.gov/contact/356345.htm"
- fill_in:
- name: zip5
selector: "#zip5"
value: $ADDRESS_ZIP5
required: true
- name: zip4
selector: "#zip4"
value: $ADDRESS_ZIP4
required: true
- click_on:
- value: Submit
selector: "form.zipform input[type='submit'][value='Submit']"
- find:
- selector: "#ctl00_ctl11_ctl00_Text form input[name='required-prefix']"
- fill_in:
- name: required-prefix
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-prefix']"
value: $NAME_PREFIX
required: true
- name: required-first
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-first']"
value: $NAME_FIRST
required: true
- name: required-last
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-last']"
value: $NAME_LAST
required: true
- name: required-address
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-address']"
value: $ADDRESS_STREET
required: true
- name: required-city
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-city']"
value: $ADDRESS_CITY
required: true
- name: required-phone
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-phone']"
value: $PHONE
required: true
- name: required-email
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-email']"
value: $EMAIL
required: true
- name: required-message
selector: "#ctl00_ctl11_ctl00_Text form textarea[name='required-message']"
value: $MESSAGE
required: true
- javascript:
- value: document.querySelector("#ctl00_ctl11_ctl00_Text form textarea[name='required-message']").value = document.querySelector("#ctl00_ctl11_ctl00_Text form textarea[name='required-message']").value.replace(/"/g, '');
- click_on:
- value: Send Email
selector: "#ctl00_ctl11_ctl00_Text form input[type='submit'][value='Send Email']"
- find:
- selector: "span#ctl00_ctl11_ctl00_Text"
value: "Thank you for submitting your comments, I appreciate hearing from you."
success:
headers:
status: 200
body:
contains: "Thank you for submitting your comments, I appreciate hearing from you."
You can’t perform that action at this time.