mirror of
https://github.com/unitedstates/contact-congress.git
synced 2025-12-19 09:27:29 -05:00
166 lines
4.6 KiB
YAML
166 lines
4.6 KiB
YAML
bioguide: F000479
|
|
contact_form:
|
|
method: post
|
|
action: ""
|
|
steps:
|
|
- visit: "https://www.fetterman.senate.gov/contact/"
|
|
- fill_in:
|
|
- name: input_1.2
|
|
selector: "#input_3_1_2"
|
|
value: $NAME_PREFIX
|
|
required: true
|
|
- name: input_1.3
|
|
selector: "#input_3_1_3"
|
|
value: $NAME_FIRST
|
|
required: true
|
|
- name: input_1.6
|
|
selector: "#input_3_1_6"
|
|
value: $NAME_LAST
|
|
required: true
|
|
- name: input_2.1
|
|
selector: "#input_3_2_1"
|
|
value: $ADDRESS_STREET
|
|
required: true
|
|
- name: input_2.2
|
|
selector: "#input_3_2_2"
|
|
value: $ADDRESS_STREET_2
|
|
required: false
|
|
- name: input_2.3
|
|
selector: "#input_3_2_3"
|
|
value: $ADDRESS_CITY
|
|
required: true
|
|
- name: input_2.5
|
|
selector: "#input_3_2_5"
|
|
value: $ADDRESS_ZIP5
|
|
required: true
|
|
- name: input_3
|
|
selector: "#input_3_3"
|
|
value: $PHONE
|
|
required: false
|
|
- name: input_4
|
|
selector: "#input_3_4"
|
|
value: $EMAIL
|
|
required: true
|
|
- name: input_6
|
|
selector: "#input_3_6"
|
|
value: $MESSAGE
|
|
required: true
|
|
max_length: 1200
|
|
- select:
|
|
- name: input_2.4
|
|
selector: "#input_3_2_4"
|
|
value: $ADDRESS_STATE_POSTAL_ABBREV
|
|
required: true
|
|
options:
|
|
Alabama: AL
|
|
Alaska: AK
|
|
Arizona: AZ
|
|
Arkansas: AR
|
|
California: CA
|
|
Colorado: CO
|
|
Connecticut: CT
|
|
Delaware: DE
|
|
District of Columbia: 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: input_9
|
|
selector: "#input_3_9"
|
|
value: $TOPIC
|
|
required: true
|
|
options:
|
|
Agriculture: "AGR"
|
|
Animals: AN
|
|
Art and Humanities: ART
|
|
Banking and Finance: "BANK"
|
|
Budget and Economy: "BUD"
|
|
Campaign Finance: CAMPFI
|
|
Campaign Finance Reform: "CFR"
|
|
Civil Rights/Humanities: "CIVIL"
|
|
Congress and Elections: "CONG"
|
|
Child Tax Credit: CTC
|
|
Defense and Military: "DEF"
|
|
Economy: "ECON"
|
|
Education: EDU
|
|
Energy: "ENE"
|
|
Climate Change: "ENE.CC"
|
|
Family/Marriage: "FAM"
|
|
Federal Employees: "FED"
|
|
Food Safety: "FOOD"
|
|
Foreign Relations: "FR"
|
|
Governmental Reform: "GOV"
|
|
Guns: "GUN"
|
|
Health: HEA
|
|
Homeland Security: "HOM"
|
|
Housing: HOUSING
|
|
Immigration: IMM
|
|
Infrastructure: INFRASTRUCTURE
|
|
International Relations: INT
|
|
IRS: "IRS"
|
|
Jobs and the Economy: JOBS
|
|
Judiciary: JUD
|
|
Labor: LAB
|
|
LGBT: "LGBT"
|
|
Military: MIL
|
|
Post Office: "POST"
|
|
Science and Technology: "SCI"
|
|
Security: SEC
|
|
Senior Citizens: "SENIORS"
|
|
Small Business: "SM.BUS"
|
|
Social Issues: SOC
|
|
Social Services: SOC.SERVICES
|
|
Social Security: SSEC
|
|
Taxes: TAX
|
|
Trade: TRADE
|
|
Transportation: TRA
|
|
Veterans: VET
|
|
Women's Issues: WOMEN
|
|
- javascript:
|
|
- value: document.querySelector("#input_3_6").value = document.querySelector("#input_3_6").value.replace(/"/g, '');
|
|
- click_on:
|
|
- selector: "#gform_submit_button_3"
|
|
success:
|
|
headers:
|
|
status: 200
|
|
body:
|
|
contains: ""
|