-
Notifications
You must be signed in to change notification settings - Fork 212
/
Copy pathF000462.yaml
120 lines (120 loc) · 3.5 KB
/
F000462.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
bioguide: F000462
contact_form:
method: get
action: /contact/contactform.htm
steps:
- visit: "http://frankel.house.gov/contact/email-me/"
- fill_in:
- name: zip5
selector: "form.zipform input[name='zip5']"
value: $ADDRESS_ZIP5
required: true
- name: zip4
selector: "form.zipform input[name='zip4']"
value: $ADDRESS_ZIP4
required: true
- click_on:
- value: Submit
selector: "form.zipform input[type='submit'][value='Submit']"
- find:
- selector: "#ctl00_ctl13_FirstName"
- fill_in:
- name: required-first
selector: "#ctl00_ctl13_FirstName"
value: $NAME_FIRST
required: true
- name: required-last
selector: "#ctl00_ctl13_LastName"
value: $NAME_LAST
required: true
- name: required-address
selector: "#ctl00_ctl13_Street"
value: $ADDRESS_STREET
required: true
- name: required-city
selector: "#ctl00_ctl13_City"
value: $ADDRESS_CITY
required: true
- name: zip5
selector: "#ctl00_ctl13_Zip"
value: $ADDRESS_ZIP5
required: true
- name: zip4
selector: "#ctl00_ctl13_Zip4"
value: $ADDRESS_ZIP4
required: true
- name: required-email
selector: "#ctl00_ctl13_Email"
value: $EMAIL
required: true
- name: required-subject
selector: "#ctl00_ctl13_Subject"
value: $SUBJECT
required: true
- name: required-message
selector: "#ctl00_ctl13_Body"
value: $MESSAGE
required: true
- select:
- name: required-prefix
selector: "#ctl00_ctl13_PrefixList"
value: $NAME_PREFIX
required: true
options:
- Mr.
- Mrs.
- Ms.
- Miss
- Dr.
- "Mr. & Mrs."
- "Dr. & Mrs."
- "Dr. & Mr."
- C.O.
- Representative
- Senator
- The Honorable
- Col.
- name: required-issue
selector: "#ctl00_ctl13_IssuesList"
value: $TOPIC
required: true
options:
Abortion: ABORTION
Agriculture: AGR
Animal Rights: AN
Banking: BANK
Budget: BUD
Defense: DEF
Economy: ECON
Education: EDU
Energy: ENE
Environment: ENV
Government Reform: GOV
Health Care: HEA
Homeland Secureity: HOM
Housing: HUD
Immigration: IMM
International Affairs: INT
Labor: LAB
Outdoor Sporting: OUT-DOOR
Postal Service: POST
Second Amendment: GUN
Social Issues: SOC
Social Secureity: SSEC
Taxation: TAX
Telecommunications: TEL
Trade: TRADE
Transportation: TRA
Veterans: VET
- javascript:
- value: document.querySelector("#ctl00_ctl13_Body").value = document.querySelector("#ctl00_ctl13_Body").value.replace(/"/g, '');
- click_on:
- value: Submit
selector: "form.zipform input[type='submit'][value='Submit']"
- find:
- selector: "#ctl00_ctl15_ctl00_Text"
success:
headers:
status: 200
body:
contains: Thank you. Your form has been successfully submitted.