-
Notifications
You must be signed in to change notification settings - Fork 212
/
Copy pathM000934.yaml
80 lines (80 loc) · 2.95 KB
/
M000934.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
bioguide: M000934
contact_form:
method: post
action: ""
steps:
- visit: "https://www.moran.senate.gov/public/index.cfm/e-mail-jerry"
- fill_in:
- name: field_F584DB14-EBF4-4A69-9A32-9FBDDED35B84
selector: "#field_F584DB14-EBF4-4A69-9A32-9FBDDED35B84"
value: $NAME_FIRST
required: true
- name: field_E6E4058E-A737-405F-AE5D-D7D41A7E8B5E
selector: "#field_E6E4058E-A737-405F-AE5D-D7D41A7E8B5E"
value: $NAME_LAST
required: true
- name: field_9E29ECCB-FE46-43E7-BBD3-D62B8FBF42F8
selector: "#field_9E29ECCB-FE46-43E7-BBD3-D62B8FBF42F8"
value: $ADDRESS_STREET
required: true
- name: field_6E959311-9669-4B86-A863-EB43467FE7FE
selector: "#field_6E959311-9669-4B86-A863-EB43467FE7FE"
value: $ADDRESS_CITY
required: true
- name: field_BF6AA012-BC30-493B-AECB-EEB2F449979C
selector: "#field_BF6AA012-BC30-493B-AECB-EEB2F449979C"
value: $ADDRESS_ZIP5
required: true
- name: field_84914330-6605-4067-8AFD-1E1F80B24620
selector: "#field_84914330-6605-4067-8AFD-1E1F80B24620"
value: $PHONE
required: true
- name: field_770E67A6-DF25-4586-BFD9-6AA3C1A8B3FE
selector: "#field_770E67A6-DF25-4586-BFD9-6AA3C1A8B3FE"
value: $EMAIL
required: true
- name: field_955D171C-85C6-4515-9D66-560E2EB6E15C
selector: "#field_955D171C-85C6-4515-9D66-560E2EB6E15C"
value: $MESSAGE
required: true
options:
max_length: 500
- select:
- name: field_8AECE1B7-0DB4-497B-95C5-E5102C91B9D1
selector: "#field_8AECE1B7-0DB4-497B-95C5-E5102C91B9D1"
value: "Comment or Questions on Specific Issues, Legislation or Policy"
required: true
options:
- Comment or Questions on Specific Issues, Legislation or Policy
- name: field_34C75A0A-DEE8-422D-B5D8-B73D78A4A06F
selector: "#field_34C75A0A-DEE8-422D-B5D8-B73D78A4A06F"
value: $NAME_PREFIX
required: true
options:
- Mr.
- Ms.
- Mrs.
- Mr. and Mrs.
- Dr.
- Dr. and Mrs.
- Mr. and Dr.
- Reverend
- Sister
- Pastor
- The Honorable
- Representative
- Senator
- check:
- name: field_0ADBE733-15FE-4446-A42B-4162E529BC6D
selector: "#field_0ADBE733-15FE-4446-A42B-4162E529BC6D_2"
value: " "
- javascript:
- value: document.querySelector("#field_955D171C-85C6-4515-9D66-560E2EB6E15C").value = document.querySelector("#field_955D171C-85C6-4515-9D66-560E2EB6E15C").value.replace(/"/g, '');
- click_on:
- value: Submit
selector: div.buttonHolder input
success:
headers:
status: 200
body:
contains: "Thank you for your message!"