mirror of
https://github.com/unitedstates/contact-congress.git
synced 2025-12-19 09:27:29 -05:00
135 lines
3.5 KiB
YAML
135 lines
3.5 KiB
YAML
bioguide: W000802
|
|
contact_form:
|
|
method: post
|
|
action: "https://www.whitehouse.senate.gov/contact/email-sheldon"
|
|
steps:
|
|
- visit: "https://www.whitehouse.senate.gov/contact/email-sheldon"
|
|
- fill_in:
|
|
- name: input_3
|
|
selector: "#input_2_3"
|
|
value: $NAME_FIRST
|
|
required: true
|
|
- name: input_4
|
|
selector: "#input_2_4"
|
|
value: $NAME_LAST
|
|
required: true
|
|
- name: input_8.1
|
|
selector: "#input_2_8_1"
|
|
value: $ADDRESS_STREET
|
|
required: true
|
|
- name: input_8.3
|
|
selector: "#input_2_8_3"
|
|
value: $ADDRESS_CITY
|
|
required: true
|
|
- name: input_8.5
|
|
selector: "#input_2_8_5"
|
|
value: $ADDRESS_ZIP5
|
|
required: true
|
|
- name: input_9
|
|
selector: "#input_2_9"
|
|
value: $EMAIL
|
|
required: true
|
|
- name: input_9_2
|
|
selector: "#input_2_9_2"
|
|
value: $EMAIL
|
|
required: true
|
|
- name: input_10
|
|
selector: "#input_2_10"
|
|
value: $PHONE
|
|
required: true
|
|
- name: input_12
|
|
selector: "#input_2_12"
|
|
value: $SUBJECT
|
|
required: true
|
|
- name: input_13
|
|
selector: "#input_2_13"
|
|
value: $MESSAGE
|
|
required: true
|
|
- select:
|
|
- name: input_5
|
|
selector: "#input_2_5"
|
|
value: $NAME_PREFIX
|
|
required: true
|
|
options:
|
|
- Mr.
|
|
- Ms.
|
|
- Mrs.
|
|
- Mx.
|
|
- name: input_8.4
|
|
selector: "#input_2_8_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
|
|
- javascript:
|
|
- value: document.querySelector("#input_2_13").value = document.querySelector("#input_2_13").value.replace(/"/g, '');
|
|
- click_on:
|
|
- value: Submit
|
|
selector: "#gform_submit_button_2"
|
|
- find:
|
|
- selector: "#gform_confirmation_message_2 span"
|
|
value: "Thank you for contacting me."
|
|
success:
|
|
headers:
|
|
status: 200
|
|
body:
|
|
contains: Thank you for contacting me.
|