Files
contact-congress/members/S001191.yaml
2024-04-16 13:50:36 -05:00

194 lines
5.8 KiB
YAML

bioguide: S001191
contact_form:
method: post
action: ""
steps:
- visit: "https://www.sinema.senate.gov/contact-kyrsten"
- wait:
- value: 3
- find:
- selector: "#input_3_4"
- fill_in:
- name: "first_name"
selector: "#input_3_4"
value: $NAME_FIRST
required: true
- name: "last_name"
selector: "#input_3_5"
value: $NAME_LAST
required: true
- name: "address_1"
selector: "#input_3_6"
value: $ADDRESS_STREET
required: true
- name: "city"
selector: "#input_3_8"
value: $ADDRESS_CITY
required: true
- name: "zip"
selector: "#input_3_10"
value: $ADDRESS_ZIP5
required: true
- name: "phone"
selector: "#input_3_17"
value: $PHONE
required: true
- name: "email"
selector: "#input_3_18"
value: $EMAIL
required: true
- name: "subject"
selector: "#input_3_13"
value: $SUBJECT
required: true
- name: "message"
selector: "#input_3_14"
value: $MESSAGE
required: true
- select:
- name: "state"
selector: "#input_3_9"
value: $ADDRESS_STATE_FULL
required: true
options:
- Alabama
- Alaska
- Arizona
- Arkansas
- California
- Colorado
- Connecticut
- Delaware
- District of Columbia
- Florida
- Georgia
- Hawaii
- Idaho
- Illinois
- Indiana
- Iowa
- Kansas
- Kentucky
- Louisiana
- Maine
- Maryland
- Massachusetts
- Michigan
- Minnesota
- Mississippi
- Missouri
- Montana
- Nebraska
- Nevada
- New Hampshire
- New Jersey
- New Mexico
- New York
- North Carolina
- North Dakota
- Ohio
- Oklahoma
- Oregon
- Pennsylvania
- Rhode Island
- South Carolina
- South Dakota
- Tennessee
- Texas
- Utah
- Vermont
- Virginia
- Washington
- West Virginia
- Wisconsin
- Wyoming
- name: "prefix"
selector: "#input_3_3"
value: $NAME_PREFIX
required: true
options:
"Ms.": "Ms."
"Mr.": "Mr."
"Mrs.": "Mrs."
"Dr.": "Dr."
"Miss": "Miss"
"Admiral": "Admiral"
"Captain": "Captain"
"Chief Master Sergeant": "Chief Master Sergeant"
"Colonel": "Colonel"
"Commander": "Commander"
"Corporal": "Corporal"
"General": "General"
"Lieutenant": "Lieutenant"
"Lieutenant Colonel": "Lieutenant Colonel"
"Major": "Major"
"Master Sergeant": "Master Sergeant"
"Sergeant": "Sergeant"
"Second Lieutenant": "Second Lieutenant"
"Sergeant Major": "Sergeant Major"
"Technical Sergeant": "Technical Sergeant"
- name: "issue"
selector: "#input_3_12"
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: "#choice_3_15_0"
value: Yes
required: No
- name: "sign_up_for_updates"
selector: "#choice_3_16_1"
value: No
required: No
- click_on:
- value: Send message
selector: "#gform_submit_button_3"
success:
headers:
status: 200
body:
contains: "Thanks for contacting us! We will get in touch with you shortly"