Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
126 lines (126 sloc) 4.17 KB
bioguide: S001191
contact_form:
method: post
action: ""
steps:
- visit: "https://www.sinema.senate.gov/contact-kyrsten"
- wait:
- value: 3
- find:
- selector: " #edit-constituent-information #edit-first-name"
- fill_in:
- name: "first_name"
selector: "#edit-constituent-information #edit-first-name"
value: $NAME_FIRST
required: true
- name: "last_name"
selector: "#edit-constituent-information #edit-last-name"
value: $NAME_LAST
required: true
- name: "address_1"
selector: "#edit-address-1"
value: $ADDRESS_STREET
required: true
- name: "city"
selector: "#edit-city"
value: $ADDRESS_CITY
required: true
- name: "zip"
selector: "#edit-zip"
value: $ADDRESS_ZIP5
required: true
- name: "phone"
selector: "#edit-phone"
value: $PHONE
required: true
- name: "email"
selector: "#edit-constituent-information #edit-email"
value: $EMAIL
required: true
- name: "subject"
selector: "#edit-subject"
value: $SUBJECT
required: true
- name: "message"
selector: "#edit-message"
value: $MESSAGE
required: true
- select:
- name: "prefix"
selector: "#edit-prefix"
value: $NAME_PREFIX
required: true
options:
"Mr.": "Mr."
"Mrs.": "Mrs."
"Ms.": "Ms."
"Dr.": "Dr."
- name: "state"
selector: "#edit-state"
value: $ADDRESS_STATE_POSTAL_ABBREV
required: true
options: US_STATES
- name: "issue"
selector: "#edit-issue"
value: $TOPIC
required: true
options:
"Aging": "Aging"
"Agriculture": "Agriculture"
"Animal Rights": "Animal Rights"
"Appropriations": "Appropriations"
"Arts and Humanities": "Arts and Humanities"
"Banking and Finance": "Banking and Finance"
"Budget": "Budget"
"Census": "Census"
"Children and Families": "Children and Families"
"Civil Rights": "Civil Rights"
"Crime": "Crime"
"Defense/Military": "Defense/Military"
"Economic Development": "Economic Development"
"Education": "Education"
"Election and Campaign Reform": "Election and Campaign Reform"
"Energy": "Energy"
"Environment": "Environment"
"Foreign Policy": "Foreign Policy"
"Government Reform": "Government Reform"
"Health Care": "Health Care"
"Homeland Security": "Homeland Security"
"Housing": "Housing"
"Immigration": "Immigration"
"Jobs": "Jobs"
"Judiciary": "Judiciary"
"Labor and Employment": "Labor and Employment"
"LGBT Issues": "LGBT Issues"
"Medicaid": "Medicaid"
"Medicare": "Medicare"
"Native Americans": "Native Americans"
"Pensions": "Pensions"
"Postal Service": "Postal Service"
"Regulatory Reform": "Regulatory Reform"
"Science and Technology": "Science and Technology"
"Second Amendment": "Second Amendment"
"Small Business": "Small Business"
"Social Security": "Social Security"
"Taxes": "Taxes"
"Telecom": "Telecom"
"Trade": "Trade"
"Transportation & Infrastructure": "Transportation & Infrastructure "
"Veterans": "Veterans"
- check:
- name: "response_requested"
selector: "#edit-response-requested-yes"
value: "Yes"
required: Yes
- name: "sign_up_for_updates"
selector: "#edit-sign-up-for-updates-no"
value: "No"
required: Yes
- click_on:
- value: Send message
selector: "#webform-submission-contact-kyrsten-node-877-add-form #edit-actions-submit"
success:
headers:
status: 200
body:
contains: "Thank you"
You can’t perform that action at this time.