Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
contact-congress/members/S001191.yaml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
128 lines (128 sloc)
4.21 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
options: | |
max_length: 75 | |
- 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" |