Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
101 lines (101 sloc) 3.13 KB
bioguide: C000059
contact_form:
method: post
action: ""
steps:
- visit: "https://calvert.house.gov/contactform/"
- fill_in:
- name: ctl00$ctl14$Prefix
selector: "#ctl00_ctl14_Prefix"
value: $NAME_PREFIX
required: true
- name: ctl00$ctl14$First
selector: "#ctl00_ctl14_First"
value: $NAME_FIRST
required: true
- name: ctl00$ctl14$Last
selector: "#ctl00_ctl14_Last"
value: $NAME_LAST
required: true
- name: ctl00$ctl14$Address
selector: "#ctl00_ctl14_Address"
value: $ADDRESS_STREET
required: true
- name: ctl00$ctl14$City
selector: "#ctl00_ctl14_City"
value: $ADDRESS_CITY
required: true
- name: ctl00$ctl14$zip5
selector: "#ctl00_ctl14_zip5"
value: $ADDRESS_ZIP5
required: true
- name: ctl00$ctl14$zip4
selector: "#ctl00_ctl14_zip4"
value: $ADDRESS_ZIP4
required: true
- name: ctl00$ctl14$Phone
selector: "#ctl00_ctl14_Phone"
value: $PHONE
required: false
- name: ctl00$ctl14$Cell
selector: "#ctl00_ctl14_Cell"
value: $PHONE
required: false
- name: ctl00$ctl14$Email
selector: "#ctl00_ctl14_Email"
value: $EMAIL
required: true
- name: ctl00$ctl14$Message
selector: "#ctl00_ctl14_Message"
value: $MESSAGE
required: true
- select:
- name: ctl00$ctl14$Issue
selector: "#ctl00_ctl14_Issue"
value: $TOPIC
required: true
options:
Agriculture: AG
Banking: Bank
Budget: Budget
Camp. Finance Reform: Campaign
Civil Rights: Civ
"Cong./Gov't Reform": Cong
Defense/Military: Defense
Economy: Economy
Education: Educ
Energy: Energy
Environment: Envir
Gun Rights/Control: Guns
Healthcare: Health
Homeland Security: Homsec
Housing: Housing
Immigration: Imm
"Int'l Relations": Intl Re
Judiciary: Judic
Labor: Labor
Native Americans: Native Americans
Postal Issues: Postal
Science/Space: Science
Social Security: Social
Taxes: Tax
Telecommunications: Comm
Trade: Trade
Transportation: Trans
Veterans: Veterans
Water: WATER
Welfare: Welfare
- uncheck:
- name: ctl00$ctl14$Subscribe
selector: "#ctl00_ctl14_Subscribe"
value: subscribe
- javascript:
- value: document.querySelector("#ctl00_ctl14_Message").value = document.querySelector("#ctl00_ctl14_Message").value.replace(/"/g, '');
- click_on:
- value: Send Email
selector: "#ctl00 input[name='ctl00$ctl14$ctl10']"
success:
headers:
status: 200
body:
contains: "Thank you for sending Rep. Calvert an email, you will receive a response soon."
You can’t perform that action at this time.