mirror of
https://github.com/unitedstates/contact-congress.git
synced 2025-12-19 09:27:29 -05:00
130 lines
4.5 KiB
YAML
130 lines
4.5 KiB
YAML
bioguide: G000386
|
|
contact_form:
|
|
method: post
|
|
action: /form_process/questions-and-comments-thank-you
|
|
steps:
|
|
- visit: "https://www.grassley.senate.gov/contact/questions-and-comments"
|
|
- wait:
|
|
- value: 5
|
|
- fill_in:
|
|
- name: input_BADE8285-5056-A066-6057-C322607D9298
|
|
selector: "#input-BADE8285-5056-A066-6057-C322607D9298"
|
|
value: $NAME_FIRST
|
|
required: true
|
|
- name: input_BADE7F00-5056-A066-609F-EA07AE2BF91B
|
|
selector: "#input-BADE7F00-5056-A066-609F-EA07AE2BF91B"
|
|
value: $NAME_LAST
|
|
required: true
|
|
- name: input_BADE8249-5056-A066-6085-94AFC521D3DD
|
|
selector: "#input-BADE8249-5056-A066-6085-94AFC521D3DD"
|
|
value: $EMAIL
|
|
required: true
|
|
- name: input_BADE815A-5056-A066-6029-7AE648141C0E
|
|
selector: "#input-BADE815A-5056-A066-6029-7AE648141C0E"
|
|
value: $EMAIL
|
|
required: true
|
|
- name: input_BADE8377-5056-A066-601E-439FF206EE9C
|
|
selector: "#input-BADE8377-5056-A066-601E-439FF206EE9C"
|
|
value: $ADDRESS_STREET
|
|
required: true
|
|
- name: input_BADE84EC-5056-A066-6055-B1E5CF334D93
|
|
selector: "#input-BADE84EC-5056-A066-6055-B1E5CF334D93"
|
|
value: $ADDRESS_STREET_2
|
|
required: false
|
|
- name: input_BADE8474-5056-A066-6074-6537A53F1741
|
|
selector: "#input-BADE8474-5056-A066-6074-6537A53F1741"
|
|
value: $ADDRESS_CITY
|
|
required: true
|
|
- name: input_BADE7F3C-5056-A066-60C0-B76B321104A2
|
|
selector: "#input-BADE7F3C-5056-A066-60C0-B76B321104A2"
|
|
value: $ADDRESS_ZIP5
|
|
required: true
|
|
- name: input_BADE833B-5056-A066-6069-DE27AD45B36B
|
|
selector: "#input-BADE833B-5056-A066-6069-DE27AD45B36B"
|
|
value: $PHONE
|
|
required: false
|
|
- name: input_BADE8430-5056-A066-60F2-B5FA10EC77B8
|
|
selector: "#input-BADE8430-5056-A066-60F2-B5FA10EC77B8"
|
|
value: $SUBJECT
|
|
required: true
|
|
- name: input_BADE811D-5056-A066-600C-4341F0A391DA
|
|
selector: "#input-BADE811D-5056-A066-600C-4341F0A391DA"
|
|
value: $MESSAGE
|
|
required: true
|
|
- select:
|
|
- name: input_BADE83F3-5056-A066-6034-4227C8500D19
|
|
selector: "#salutations"
|
|
value: $NAME_PREFIX
|
|
required: false
|
|
options:
|
|
- Mr.
|
|
- Mrs.
|
|
- Ms.
|
|
- Miss
|
|
- Dr.
|
|
- Reverand
|
|
- Mr. and Mrs.
|
|
- Sister
|
|
- Other
|
|
- name: input_BADE7D1E-5056-A066-6029-CC75354D7428
|
|
selector: "#input-BADE7D1E-5056-A066-6029-CC75354D7428"
|
|
value: $ADDRESS_STATE_POSTAL_ABBREV
|
|
required: true
|
|
options: US_STATES
|
|
- name: input_BADE7E62-5056-A066-60B3-4467E1C7B999
|
|
selector: "#issues"
|
|
value: $TOPIC
|
|
required: true
|
|
options:
|
|
Abortion: AB
|
|
Adoption/Foster Care: AD
|
|
Agriculture: AGR
|
|
Animal: ANI
|
|
Banking: BA
|
|
Campaign Finance: CF
|
|
Constitution: CONST
|
|
Consumer Protection: CP
|
|
Defense: DEF
|
|
Education: EDU
|
|
Energy: ENE
|
|
Environmental: ENV
|
|
Federal Government Employees Operations: GOV
|
|
Fiscal Issues: FIS
|
|
Grant Support Letters: GR
|
|
Health: HEA
|
|
Homeland Security: HOM
|
|
Housing: HOUS
|
|
Immigration: IMM
|
|
Indian Affairs: IA
|
|
International Relations: INT
|
|
Job Creation - Economy: EC
|
|
Judiciary (Civil): JUD
|
|
Judiciary (Crime): CR
|
|
Judicial Nominees: NM
|
|
Labor: LAB
|
|
Medicare and Medicaid: MED
|
|
Postal Service: PS
|
|
Science/NASA: SC
|
|
Second Amendment: SECOND AMENDMENT
|
|
Social Security: SSEC
|
|
Taxes: TAX
|
|
Telecommunications: TEL
|
|
Trade: TRD
|
|
Transportation: TRA
|
|
Veterans: VET
|
|
Welfare: WEL
|
|
Other: OT
|
|
- javascript:
|
|
- value: document.querySelector("#input-BADE811D-5056-A066-600C-4341F0A391DA").value = document.querySelector("#input-BADE811D-5056-A066-600C-4341F0A391DA").value.replace(/"/g, '');
|
|
- click_on:
|
|
- selector: "#BADE7B26-5056-A066-6017-36A84C19848A button[type='submit']"
|
|
- wait:
|
|
- value: 3
|
|
- find:
|
|
- selector: "img[src='/imo/media/image/ChuckGrassleySig.png']"
|
|
success:
|
|
headers:
|
|
status: 200
|
|
body:
|
|
contains: Thank You
|