mirror of
https://github.com/unitedstates/contact-congress.git
synced 2025-12-19 09:27:29 -05:00
176 lines
5.5 KiB
YAML
176 lines
5.5 KiB
YAML
bioguide: S001232
|
|
contact_form:
|
|
method: post
|
|
action: ""
|
|
steps:
|
|
- visit: "https://www.sheehy.senate.gov/share-your-opinion/"
|
|
- fill_in:
|
|
- name: form_fields[name]
|
|
selector: "#form-field-name"
|
|
value: $NAME_PREFIX
|
|
required: true
|
|
- name: form_fields[field_1d46919]
|
|
selector: "#form-field-field_1d46919"
|
|
value: $NAME_FIRST
|
|
required: true
|
|
- name: form_fields[field_bdcaff9]
|
|
selector: "#form-field-field_bdcaff9"
|
|
value: $NAME_LAST
|
|
required: true
|
|
- name: form_fields[field_00c2cf4]
|
|
selector: "#form-field-field_00c2cf4"
|
|
value: $ADDRESS_STREET
|
|
required: true
|
|
- name: form_fields[field_5ce9e4e]
|
|
selector: "#form-field-field_5ce9e4e"
|
|
value: $ADDRESS_CITY
|
|
required: true
|
|
- name: form_fields[field_1037219]
|
|
selector: "#form-field-field_1037219"
|
|
value: $ADDRESS_ZIP5
|
|
required: true
|
|
- name: form_fields[field_9411e2b]
|
|
selector: "#form-field-field_9411e2b"
|
|
value: $PHONE
|
|
required: true
|
|
- name: form_fields[email]
|
|
selector: "#form-field-email"
|
|
value: $EMAIL
|
|
required: true
|
|
- name: form_fields[field_65932fe]
|
|
selector: "#form-field-field_65932fe"
|
|
value: $SUBJECT
|
|
required: true
|
|
- name: form_fields[field_01539f0]
|
|
selector: "#form-field-field_01539f0"
|
|
value: $MESSAGE
|
|
required: true
|
|
- select:
|
|
- name: form_fields[field_dd4016c]
|
|
selector: "#form-field-field_dd4016c"
|
|
value: $ADDRESS_STATE_POSTAL_ABBREV
|
|
required: true
|
|
options:
|
|
"Alabama": AL
|
|
"Alaska": AK
|
|
"Arizona": AZ
|
|
"Arkansas": AR
|
|
"California": CA
|
|
"Colorado": CO
|
|
"Connecticut": CT
|
|
"Delaware": DE
|
|
"Washington DC": DC
|
|
"Florida": FL
|
|
"Georgia": GA
|
|
"Hawaii": HI
|
|
"Idaho": ID
|
|
"Illinois": IL
|
|
"Indiana": IN
|
|
"Iowa": IA
|
|
"Kansas": KS
|
|
"Kentucky": KY
|
|
"Louisiana": LA
|
|
"Maine": ME
|
|
"Maryland": MD
|
|
"Massachusetts": MA
|
|
"Michigan": MI
|
|
"Minnesota": MN
|
|
"Mississippi": MS
|
|
"Missouri": MO
|
|
"Montana": MT
|
|
"Nebraska": NE
|
|
"Nevada": NV
|
|
"New Hampshire": NH
|
|
"New Jersey": NJ
|
|
"New Mexico": NM
|
|
"New York": NY
|
|
"North Carolina": NC
|
|
"North Dakota": ND
|
|
"Ohio": OH
|
|
"Oklahoma": OK
|
|
"Oregon": OR
|
|
"Pennsylvania": PA
|
|
"Rhode Island": RI
|
|
"South Carolina": SC
|
|
"South Dakota": SD
|
|
"Tennessee": TN
|
|
"Texas": TX
|
|
"Utah": UT
|
|
"Vermont": VT
|
|
"Virginia": VA
|
|
"Washington": WA
|
|
"West Virginia": WV
|
|
"Wisconsin": WI
|
|
"Wyoming": WY
|
|
- name: form_fields[message]
|
|
selector: "#form-field-message"
|
|
value: $TOPIC
|
|
required: true
|
|
options:
|
|
"Agriculture": AGR
|
|
"Animals": AN
|
|
"Arts and Humanities": ART
|
|
"Banking": BANK
|
|
"Budget and Economy": BUD
|
|
"Campaign Finance Reform": CFR
|
|
"Help with a Federal Agency": CASEWORK
|
|
"Child Tax Credit": CTC
|
|
"Civil Rights/Humanities": CIVIL
|
|
"Civil Service/Postal": CIVILSERV
|
|
"Congress": CONG
|
|
"Defense and Military": DEF
|
|
"Economy": ECON
|
|
"Education": EDU
|
|
"Education Higher": ED.HIGH
|
|
"Elections": ELECT
|
|
"Energy": ENE
|
|
"Environmental": ENV
|
|
"Family/Marriage": FAM
|
|
"Federal Employees": FED
|
|
"Flag Request": FLAG
|
|
"Food Safety": FOOD
|
|
"Foreign Relations": FR
|
|
"Governmental Reform": GOV
|
|
"Grants": GRANTS
|
|
"Guns": GUN
|
|
"Health": HEA
|
|
"Homeland Security": HOM
|
|
"Housing": HUD
|
|
"Immigration": IMM
|
|
"Infrastructure": INFRA
|
|
"International Relations": INT
|
|
"Internship Request": INTERNSHIP
|
|
"Judiciary": JUD
|
|
"Labor": LABOR
|
|
"LGBT": LGBT
|
|
"Life": LIFE
|
|
"Other": OTHER
|
|
"Passport Casework": PASSPORTS
|
|
"Postal": POST
|
|
"Science and Technology": SCI
|
|
"Senior Citizens": SENIORS
|
|
"Small Business": SM.BUS
|
|
"Social Issues": SOC
|
|
"Social Security": SSEC
|
|
"Taxes/IRS": TAX
|
|
"Telecommunications": TELE
|
|
"Tour Request": TOURS
|
|
"Trade": TRADE
|
|
"Transportation": TRA
|
|
"Veterans": VET
|
|
"Welfare": WEL
|
|
"Women's Issues": WOMEN
|
|
- javascript:
|
|
- value: document.querySelector("#form-field-field_01539f0").value = document.querySelector("#form-field-field_01539f0").value.replace(/"/g, '');
|
|
- click_on:
|
|
- selector: button.elementor-button[type='submit']
|
|
- wait:
|
|
- value: 3
|
|
- javascript:
|
|
- value: if (document.querySelector(".elementor-message-success")) { document.querySelector(".elementor-message-success").style.display = "block"; }
|
|
success:
|
|
headers:
|
|
status: 200
|
|
body:
|
|
contains: "Thank you! Your submission has been received."
|