mirror of
https://github.com/unitedstates/contact-congress.git
synced 2025-12-19 09:27:29 -05:00
132 lines
4.2 KiB
YAML
132 lines
4.2 KiB
YAML
bioguide: S001197
|
|
contact_form:
|
|
method: post
|
|
action: ""
|
|
steps:
|
|
- visit: "https://www.sasse.senate.gov/public/index.cfm/email-ben"
|
|
- wait:
|
|
- value: 3
|
|
- fill_in:
|
|
- name: field_8B37EAA4-2FC8-4F36-A6B6-F3414A7A9AA5
|
|
selector: "#field_8B37EAA4-2FC8-4F36-A6B6-F3414A7A9AA5"
|
|
value: $NAME_FIRST
|
|
required: true
|
|
- name: field_70D11ACD-1BB0-4DB0-B12E-670C8FDC9590
|
|
selector: "#field_70D11ACD-1BB0-4DB0-B12E-670C8FDC9590"
|
|
value: $NAME_LAST
|
|
required: true
|
|
- name: field_93686B46-A6D1-4977-A951-81396A4E94CA
|
|
selector: "#field_93686B46-A6D1-4977-A951-81396A4E94CA"
|
|
value: $ADDRESS_STREET
|
|
required: true
|
|
- name: field_664E68C6-1D34-46D1-B232-496B48DAB108
|
|
selector: "#field_664E68C6-1D34-46D1-B232-496B48DAB108"
|
|
value: $ADDRESS_CITY
|
|
required: true
|
|
- name: field_EFE8B729-6D88-4FAF-94C4-EEA0383D403A
|
|
selector: "#field_EFE8B729-6D88-4FAF-94C4-EEA0383D403A"
|
|
value: $ADDRESS_ZIP5
|
|
required: true
|
|
- name: field_2515A2B7-E9CD-40F8-8135-64CC47B8A7B5
|
|
selector: "#field_2515A2B7-E9CD-40F8-8135-64CC47B8A7B5"
|
|
value: $PHONE
|
|
required: true
|
|
- name: field_9023DC4C-36F1-4E2B-B5F1-5173345C1A56
|
|
selector: "#field_9023DC4C-36F1-4E2B-B5F1-5173345C1A56"
|
|
value: $EMAIL
|
|
required: true
|
|
- name: field_423DB2CF-5A0E-4DDD-9ABF-9C3D7FD2D7D4
|
|
selector: "#field_423DB2CF-5A0E-4DDD-9ABF-9C3D7FD2D7D4"
|
|
value: $MESSAGE
|
|
required: true
|
|
options:
|
|
max_length: 2500
|
|
- select:
|
|
- name: field_2647C301-6F8A-4A2F-A7AD-6AB2BA694E46
|
|
selector: "#field_2647C301-6F8A-4A2F-A7AD-6AB2BA694E46"
|
|
value: $NAME_PREFIX
|
|
required: true
|
|
options:
|
|
Mr.: Mr
|
|
Mrs.: Mrs
|
|
Ms.: Ms
|
|
Mr. and Mrs.: Mr and Mrs
|
|
Dr.: Dr
|
|
Dr. and Mrs.: Dr and Mrs
|
|
Reverend: Reverend
|
|
Sister: Sister
|
|
Pastor: Pastor
|
|
The Honorable: The Honorable
|
|
Representative: Representative
|
|
Senator: Senator
|
|
- name: field_2B460AD9-C6A4-4448-B9A5-58A73BE3F005
|
|
selector: "#field_2B460AD9-C6A4-4448-B9A5-58A73BE3F005"
|
|
value: $TOPIC
|
|
required: true
|
|
options:
|
|
- Abortion
|
|
- Adoption
|
|
- Agriculture
|
|
- Animal Welfare
|
|
- Appropriations
|
|
- Banking
|
|
- Budget
|
|
- Campaign Finance
|
|
- Children
|
|
- Civil Rights
|
|
- Commerce
|
|
- Communications
|
|
- Crime
|
|
- Defense
|
|
- Drugs
|
|
- Economy
|
|
- Education
|
|
- Energy
|
|
- Entitlements
|
|
- Environment
|
|
- Family
|
|
- Flood Insurance
|
|
- Food Stamps
|
|
- Foreign Affairs
|
|
- Guns
|
|
- Health
|
|
- Homeland Security
|
|
- Housing
|
|
- Immigration
|
|
- Inauguration
|
|
- Intellectual Property
|
|
- Judiciary
|
|
- Labor
|
|
- Medicaid
|
|
- Medicare
|
|
- Miscellaneous
|
|
- Monetary Policy
|
|
- NASA
|
|
- Nutrition
|
|
- Patents
|
|
- Pensions
|
|
- Postal Issue
|
|
- Regulatory Reform
|
|
- Securities
|
|
- Small Business
|
|
- Social Issues
|
|
- Social Security
|
|
- Taxes
|
|
- Trade
|
|
- Transportation
|
|
- Veterans
|
|
- javascript:
|
|
- value: document.querySelector("#field_423DB2CF-5A0E-4DDD-9ABF-9C3D7FD2D7D4").value = document.querySelector("#field_423DB2CF-5A0E-4DDD-9ABF-9C3D7FD2D7D4").value.replace(/"/g, '');
|
|
- javascript:
|
|
- value: "document.querySelector('#g-recaptcha-response').style.cssText = 'display: block; margin-top: 5em;';"
|
|
- recaptcha:
|
|
- value: true
|
|
- click_on:
|
|
- value: Submit
|
|
selector: input.btn.btn-primary
|
|
success:
|
|
headers:
|
|
status: 200
|
|
body:
|
|
contains: "Thank you for contacting"
|