-
Notifications
You must be signed in to change notification settings - Fork 213
/
Copy pathG000386.yaml
129 lines (129 loc) · 4.53 KB
/
G000386.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
bioguide: G000386
contact_form:
method: post
action: /form_process/questions-and-comments-thank-you
steps:
- visit: "https://www.grassley.senate.gov/contact/questions-and-comments"
- wait:
- value: 5
- fill_in:
- name: input_BADE8285-5056-A066-6057-C322607D9298
selector: "#input-BADE8285-5056-A066-6057-C322607D9298"
value: $NAME_FIRST
required: true
- name: input_BADE7F00-5056-A066-609F-EA07AE2BF91B
selector: "#input-BADE7F00-5056-A066-609F-EA07AE2BF91B"
value: $NAME_LAST
required: true
- name: input_BADE8249-5056-A066-6085-94AFC521D3DD
selector: "#input-BADE8249-5056-A066-6085-94AFC521D3DD"
value: $EMAIL
required: true
- name: input_BADE815A-5056-A066-6029-7AE648141C0E
selector: "#input-BADE815A-5056-A066-6029-7AE648141C0E"
value: $EMAIL
required: true
- name: input_BADE8377-5056-A066-601E-439FF206EE9C
selector: "#input-BADE8377-5056-A066-601E-439FF206EE9C"
value: $ADDRESS_STREET
required: true
- name: input_BADE84EC-5056-A066-6055-B1E5CF334D93
selector: "#input-BADE84EC-5056-A066-6055-B1E5CF334D93"
value: $ADDRESS_STREET_2
required: false
- name: input_BADE8474-5056-A066-6074-6537A53F1741
selector: "#input-BADE8474-5056-A066-6074-6537A53F1741"
value: $ADDRESS_CITY
required: true
- name: input_BADE7F3C-5056-A066-60C0-B76B321104A2
selector: "#input-BADE7F3C-5056-A066-60C0-B76B321104A2"
value: $ADDRESS_ZIP5
required: true
- name: input_BADE833B-5056-A066-6069-DE27AD45B36B
selector: "#input-BADE833B-5056-A066-6069-DE27AD45B36B"
value: $PHONE
required: false
- name: input_BADE8430-5056-A066-60F2-B5FA10EC77B8
selector: "#input-BADE8430-5056-A066-60F2-B5FA10EC77B8"
value: $SUBJECT
required: true
- name: input_BADE811D-5056-A066-600C-4341F0A391DA
selector: "#input-BADE811D-5056-A066-600C-4341F0A391DA"
value: $MESSAGE
required: true
- select:
- name: input_BADE83F3-5056-A066-6034-4227C8500D19
selector: "#salutations"
value: $NAME_PREFIX
required: false
options:
- Mr.
- Mrs.
- Ms.
- Miss
- Dr.
- Reverand
- Mr. and Mrs.
- Sister
- Other
- name: input_BADE7D1E-5056-A066-6029-CC75354D7428
selector: "#input-BADE7D1E-5056-A066-6029-CC75354D7428"
value: $ADDRESS_STATE_POSTAL_ABBREV
required: true
options: US_STATES
- name: input_BADE7E62-5056-A066-60B3-4467E1C7B999
selector: "#issues"
value: $TOPIC
required: true
options:
Abortion: AB
Adoption/Foster Care: AD
Agriculture: AGR
Animal: ANI
Banking: BA
Campaign Finance: CF
Constitution: CONST
Consumer Protection: CP
Defense: DEF
Education: EDU
Energy: ENE
Environmental: ENV
Federal Government Employees Operations: GOV
Fiscal Issues: FIS
Grant Support Letters: GR
Health: HEA
Homeland Security: HOM
Housing: HOUS
Immigration: IMM
Indian Affairs: IA
International Relations: INT
Job Creation - Economy: EC
Judiciary (Civil): JUD
Judiciary (Crime): CR
Judicial Nominees: NM
Labor: LAB
Medicare and Medicaid: MED
Postal Service: PS
Science/NASA: SC
Second Amendment: SECOND AMENDMENT
Social Security: SSEC
Taxes: TAX
Telecommunications: TEL
Trade: TRD
Transportation: TRA
Veterans: VET
Welfare: WEL
Other: OT
- javascript:
- value: document.querySelector("#input-BADE811D-5056-A066-600C-4341F0A391DA").value = document.querySelector("#input-BADE811D-5056-A066-600C-4341F0A391DA").value.replace(/"/g, '');
- click_on:
- selector: "#BADE7B26-5056-A066-6017-36A84C19848A button[type='submit']"
- wait:
- value: 3
- find:
- selector: "img[src='/imo/media/image/ChuckGrassleySig.png']"
success:
headers:
status: 200
body:
contains: Thank You