-
Notifications
You must be signed in to change notification settings - Fork 211
/
E000285.yaml
47 lines (47 loc) · 1.82 KB
/
E000285.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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