Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
47 lines (47 sloc) 1.82 KB
bioguide: E000285
contact_form:
method: post
action: ""
steps:
- visit: "http://www.enzi.senate.gov/public/index.cfm/contact?p=e-mail-senator-enzi"
- fill_in:
- name: field_EB1F4140-CFBA-43CF-9645-C4F71A8E1EDF
selector: "#field_EB1F4140-CFBA-43CF-9645-C4F71A8E1EDF"
value: $NAME_FIRST
required: true
- name: field_B15463D0-EF1A-4464-96B1-033A6D2B5BEF
selector: "#field_B15463D0-EF1A-4464-96B1-033A6D2B5BEF"
value: $NAME_LAST
required: true
- name: field_3A476DAB-C401-4252-8654-8ACF4C302938
selector: "#field_3A476DAB-C401-4252-8654-8ACF4C302938"
value: $ADDRESS_STREET
required: true
- name: field_0B8650F3-58F6-449F-B7EA-2F4DD04B401F
selector: "#field_0B8650F3-58F6-449F-B7EA-2F4DD04B401F"
value: $ADDRESS_CITY
required: true
- name: field_5F75A268-D720-4D7C-88DD-54ED39E7EF35
selector: "#field_5F75A268-D720-4D7C-88DD-54ED39E7EF35"
value: $ADDRESS_ZIP5
required: true
- name: field_A01948BE-597B-47C7-A558-80EE358505F3
selector: "#field_A01948BE-597B-47C7-A558-80EE358505F3"
value: $EMAIL
required: true
- name: field_E8E82E9B-F02E-44A6-84CB-BB70F34C9310
selector: "#field_E8E82E9B-F02E-44A6-84CB-BB70F34C9310"
value: $MESSAGE
required: true
options:
max_length: 500
- javascript:
- value: document.querySelector("#field_E8E82E9B-F02E-44A6-84CB-BB70F34C9310").value = document.querySelector("#field_E8E82E9B-F02E-44A6-84CB-BB70F34C9310").value.replace(/"/g, '');
- click_on:
- value: Submit
selector: div.buttonHolder input
success:
headers:
status: 200
body:
contains: Your message has been submitted
You can’t perform that action at this time.