mirror of
https://github.com/unitedstates/contact-congress.git
synced 2025-12-19 09:27:29 -05:00
187 lines
5.6 KiB
YAML
187 lines
5.6 KiB
YAML
bioguide: H001104
|
|
contact_form:
|
|
method: post
|
|
action: ""
|
|
steps:
|
|
- visit: "https://www.husted.senate.gov/contact-jon/"
|
|
- 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[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: CAMPFI
|
|
Help with a Federal Agency: CASEWORK
|
|
Campaign Finance Reform: CFR
|
|
Civil Rights/Humanities: CIVIL
|
|
Civil Service/Postal: CIVILSERV
|
|
Congress and Elections: CONG
|
|
Congressional Issues: CONGRESS
|
|
Child Tax Credit: CTC
|
|
CWC-Opt-in: CWC-OPT-IN
|
|
Defense and Military: DEF
|
|
Defense: DEFENSE
|
|
Economy: ECON
|
|
Education Higher: ED.HIGH
|
|
Education: EDU
|
|
eForm Response: EFORM RESPONSE
|
|
Energy: ENE
|
|
E-News Reply: E-NEWS REPLY
|
|
E-News Subscribe: ENEWS SUBSCRIBE
|
|
Environmental: ENV
|
|
Family/Marriage: FAM
|
|
Federal Employees: FED
|
|
Flag Request: FLAG
|
|
Food Safety: FOOD
|
|
Foreign Relations: FR
|
|
Governmental Reform: GOV
|
|
Guns: GUN
|
|
Health: HEALTH
|
|
Homeland Security: HOM
|
|
Housing: HOUSING
|
|
Housing & Urban Development: HUD
|
|
Immigration: IMM
|
|
Infrastructure: INFRASTRUCTURE
|
|
International Relations: INT
|
|
Internship Request: INTERNSHIP REQUEST
|
|
IRS: IRS
|
|
Jobs and the Economy: JOBS
|
|
Judiciary: JUD
|
|
Labor: LABOR
|
|
LGBT: LGBT
|
|
Military: MIL
|
|
No Response Necessary: NRN
|
|
CWC-No Response Necessary: NRN-CWC
|
|
Website-No Response Necessary: NRN-WEBSITE
|
|
Office Registry Web Form: OFFICE REGISTRY
|
|
Other Issues: OTHER
|
|
Passport Casework: PASSPORTS
|
|
Post Office: POST
|
|
REGISTER to RESPOND: REGISTER TO RESPOND
|
|
Response Reply: RESPONSE REPLY
|
|
Science and Technology: SCI
|
|
Security: SEC
|
|
Senior Citizens: SENIORS
|
|
Services Reply: SERVICES REPLY
|
|
Small Business: SM.BUS
|
|
Social Issues: SOC
|
|
Social Services: SOC SERVICES
|
|
Spam Opt-Out: SPAM OPT-OUT
|
|
Social Security: SSEC
|
|
- 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
|
|
- 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: "Contact Jon"
|