mirror of
https://github.com/unitedstates/contact-congress.git
synced 2025-12-19 17:37:24 -05:00
Merge pull request #2571 from fightforthefuture/update-banks
Update Banks (B001299)
This commit is contained in:
@@ -5,151 +5,169 @@ contact_form:
|
|||||||
steps:
|
steps:
|
||||||
- visit: "https://www.banks.senate.gov/share-your-opinion/"
|
- visit: "https://www.banks.senate.gov/share-your-opinion/"
|
||||||
- fill_in:
|
- fill_in:
|
||||||
- name: form_fields[name]
|
- name: input_39
|
||||||
selector: "#form-field-name"
|
selector: "#input_2_39"
|
||||||
value: $NAME_PREFIX
|
value: $NAME_PREFIX
|
||||||
required: true
|
required: true
|
||||||
- name: form_fields[field_1d46919]
|
- name: input_2
|
||||||
selector: "#form-field-field_1d46919"
|
selector: "#input_2_2"
|
||||||
value: $NAME_FIRST
|
value: $NAME_FIRST
|
||||||
required: true
|
required: true
|
||||||
- name: form_fields[field_bdcaff9]
|
- name: input_3
|
||||||
selector: "#form-field-field_bdcaff9"
|
selector: "#input_2_3"
|
||||||
value: $NAME_LAST
|
value: $NAME_LAST
|
||||||
required: true
|
required: true
|
||||||
- name: form_fields[field_00c2cf4]
|
- name: input_6.1
|
||||||
selector: "#form-field-field_00c2cf4"
|
selector: "#input_2_6_1"
|
||||||
value: $ADDRESS_STREET
|
value: $ADDRESS_STREET
|
||||||
required: true
|
required: true
|
||||||
- name: form_fields[field_5ce9e4e]
|
- name: input_6.2
|
||||||
selector: "#form-field-field_5ce9e4e"
|
selector: "#input_2_6_2"
|
||||||
|
value: $ADDRESS_STREET_2
|
||||||
|
required: false
|
||||||
|
- name: input_6.3
|
||||||
|
selector: "#input_2_6_3"
|
||||||
value: $ADDRESS_CITY
|
value: $ADDRESS_CITY
|
||||||
required: true
|
required: true
|
||||||
- name: form_fields[field_1037219]
|
- name: input_6.5
|
||||||
selector: "#form-field-field_1037219"
|
selector: "#input_2_6_5"
|
||||||
value: $ADDRESS_ZIP5
|
value: $ADDRESS_ZIP5
|
||||||
required: true
|
required: true
|
||||||
- name: form_fields[email]
|
- name: input_41
|
||||||
selector: "#form-field-email"
|
selector: "#input_2_41"
|
||||||
|
value: $PHONE
|
||||||
|
required: true
|
||||||
|
- name: input_42
|
||||||
|
selector: "#input_2_42"
|
||||||
value: $EMAIL
|
value: $EMAIL
|
||||||
required: true
|
required: true
|
||||||
- name: form_fields[field_65932fe]
|
- name: input_11
|
||||||
selector: "#form-field-field_65932fe"
|
selector: "#input_2_11"
|
||||||
value: $SUBJECT
|
value: $SUBJECT
|
||||||
required: true
|
required: true
|
||||||
- name: form_fields[field_01539f0]
|
- name: input_12
|
||||||
selector: "#form-field-field_01539f0"
|
selector: "#input_2_12"
|
||||||
value: $MESSAGE
|
value: $MESSAGE
|
||||||
required: true
|
required: true
|
||||||
- select:
|
- select:
|
||||||
- name: form_fields[message]
|
- name: input_6.4
|
||||||
selector: "#form-field-message"
|
selector: "#input_2_6_4"
|
||||||
|
value: $ADDRESS_STATE_FULL
|
||||||
|
required: true
|
||||||
|
options:
|
||||||
|
- Alabama
|
||||||
|
- Alaska
|
||||||
|
- American Samoa
|
||||||
|
- Arizona
|
||||||
|
- Arkansas
|
||||||
|
- California
|
||||||
|
- Colorado
|
||||||
|
- Connecticut
|
||||||
|
- Delaware
|
||||||
|
- District of Columbia
|
||||||
|
- Florida
|
||||||
|
- Georgia
|
||||||
|
- Guam
|
||||||
|
- Hawaii
|
||||||
|
- Idaho
|
||||||
|
- Illinois
|
||||||
|
- Indiana
|
||||||
|
- Iowa
|
||||||
|
- Kansas
|
||||||
|
- Kentucky
|
||||||
|
- Louisiana
|
||||||
|
- Maine
|
||||||
|
- Maryland
|
||||||
|
- Massachusetts
|
||||||
|
- Michigan
|
||||||
|
- Minnesota
|
||||||
|
- Mississippi
|
||||||
|
- Missouri
|
||||||
|
- Montana
|
||||||
|
- Nebraska
|
||||||
|
- Nevada
|
||||||
|
- New Hampshire
|
||||||
|
- New Jersey
|
||||||
|
- New Mexico
|
||||||
|
- New York
|
||||||
|
- North Carolina
|
||||||
|
- North Dakota
|
||||||
|
- Northern Mariana Islands
|
||||||
|
- Ohio
|
||||||
|
- Oklahoma
|
||||||
|
- Oregon
|
||||||
|
- Pennsylvania
|
||||||
|
- Puerto Rico
|
||||||
|
- Rhode Island
|
||||||
|
- South Carolina
|
||||||
|
- South Dakota
|
||||||
|
- Tennessee
|
||||||
|
- Texas
|
||||||
|
- Utah
|
||||||
|
- U.S. Virgin Islands
|
||||||
|
- Vermont
|
||||||
|
- Virginia
|
||||||
|
- Washington
|
||||||
|
- West Virginia
|
||||||
|
- Wisconsin
|
||||||
|
- Wyoming
|
||||||
|
- Armed Forces Americas
|
||||||
|
- Armed Forces Europe
|
||||||
|
- Armed Forces Pacific
|
||||||
|
- select:
|
||||||
|
- name: input_17
|
||||||
|
selector: "#input_2_17"
|
||||||
value: $TOPIC
|
value: $TOPIC
|
||||||
required: true
|
required: true
|
||||||
options:
|
options:
|
||||||
Agriculture: AGR
|
Agriculture: AGR
|
||||||
Animal Welfare: AN
|
Animals: AN
|
||||||
Arts, Museums, & Libraries: ART
|
Arts and Humanities: ART
|
||||||
Banking & Financial Services: BANK
|
Banking: BANK
|
||||||
Chemical Safety: CHEM
|
Budget: BUD
|
||||||
Civil Rights & Discrimination (including LGBTQ+): CIVIL
|
Commerce: COMM
|
||||||
Consumer Product Safety: CONSUMER
|
Defense and Military: DEF
|
||||||
Criminal Justice: CRIMJUS
|
Drugs: DRUG
|
||||||
Defense & Military: DEF
|
Economy: ECON
|
||||||
Disaster Response: DISARESP
|
|
||||||
Education: EDU
|
Education: EDU
|
||||||
Election Reform & Voting Rights: ELECT
|
Election: ELEC
|
||||||
Endangered Species: ENDSPEC
|
Energy: ENE
|
||||||
Energy & Climate: ENE
|
Environmental: ENV
|
||||||
Environment: ENV
|
Family Values: FAM
|
||||||
Federal Court Nominations: FEDCOURT
|
Finance: FINANCE
|
||||||
|
Flag Requests: FLAG
|
||||||
Foreign Relations: FR
|
Foreign Relations: FR
|
||||||
Foreign Trade: FT
|
Governmental Reform: GOV
|
||||||
Foster Care & Adoption: ADOPT
|
Guns: GUN
|
||||||
Gun Violence Prevention: GUN
|
Health: HEA
|
||||||
Health Care: HEA
|
Help with a Federal Agency: CASEWORK
|
||||||
Housing: HOUSE
|
Homeland Security: HOM
|
||||||
|
Housing and Urban Development: HUD
|
||||||
Immigration: IMM
|
Immigration: IMM
|
||||||
Labor, Unions, & Workers: LAB
|
Infrastructure: INFRA
|
||||||
Nutrition: NUT
|
Interior: INTERIOR
|
||||||
Postal Service: POST
|
Judiciary: JUD
|
||||||
Public Lands & Forestry: LANDS
|
Labor: LAB
|
||||||
Reproductive Freedom: REPRO
|
Nutrition: NUTRI
|
||||||
Science & Space Policy: SCI
|
Post Office: POST
|
||||||
|
Science and Technology: SCI
|
||||||
|
Senior Citizens: SENIORS
|
||||||
|
Small Business: SMB
|
||||||
|
Social Issues: SOC
|
||||||
Social Security: SSEC
|
Social Security: SSEC
|
||||||
Taxes: TAX
|
Taxes: TAX
|
||||||
Telecommunications: TEL
|
Telecommunications: TEL
|
||||||
|
Trade: TRADE
|
||||||
Transportation: TRA
|
Transportation: TRA
|
||||||
Tribal Communities/Native American Affairs: NATIVE
|
|
||||||
Veterans: VET
|
Veterans: VET
|
||||||
Water: WATER
|
Welfare: WEL
|
||||||
- select:
|
Women's Issues: WOMEN
|
||||||
- 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
|
|
||||||
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
|
|
||||||
- javascript:
|
- javascript:
|
||||||
- value: document.querySelector("#form-field-field_01539f0").value = document.querySelector("#form-field-field_01539f0").value.replace(/"/g, '');
|
- value: document.querySelector("#input_2_12").value = document.querySelector("#input_2_12").value.replace(/"/g, '');
|
||||||
- click_on:
|
- click_on:
|
||||||
- selector: button.elementor-button[type='submit']
|
- selector: '#gform_submit_button_2'
|
||||||
- wait:
|
|
||||||
- value: 3
|
|
||||||
- javascript:
|
|
||||||
- value: if (document.querySelector(".elementor-message-success")) { document.querySelector(".elementor-message-success").style.display = "block"; }
|
|
||||||
success:
|
success:
|
||||||
headers:
|
headers:
|
||||||
status: 200
|
status: 200
|
||||||
body:
|
body:
|
||||||
contains: ""
|
contains: "Your submission was successful"
|
||||||
|
|||||||
Reference in New Issue
Block a user