-
Notifications
You must be signed in to change notification settings - Fork 211
/
S001157.yaml
116 lines (116 loc) · 3.9 KB
/
S001157.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
bioguide: S001157
contact_form:
method: post
action: /contact.aspx
steps:
- visit: "https://davidscott.house.gov/contact/contactform.htm"
- fill_in:
- name: required-first
selector: "#contactForm input[name='required-first']"
value: $NAME_FIRST
required: true
- name: required-last
selector: "#contactForm input[name='required-last']"
value: $NAME_LAST
required: true
- name: required-address
selector: "#contactForm input[name='required-address']"
value: $ADDRESS_STREET
required: true
- name: required-city
selector: "#contactForm input[name='required-city']"
value: $ADDRESS_CITY
required: true
- name: zip5
selector: "#contactForm input[name='zip5']"
value: $ADDRESS_ZIP5
required: true
- name: required-email
selector: "#contactForm input[name='required-email']"
value: $EMAIL
required: true
- name: required-message
selector: "#contactForm textarea[name='required-message']"
value: $MESSAGE
required: true
- select:
- name: required-prefix
selector: "#contactForm select[name='required-prefix']"
value: $NAME_PREFIX
required: true
options:
- Mr.
- Ms.
- Mrs.
- "Mr. & Mrs."
- Dr.
- name: required-issue
selector: "#contactForm select[name='required-issue']"
value: $TOPIC
required: true
options:
Adoption/Child Care and Support: ADOPT
Animal Rights: ANIMALS
Arts and Humanities: ART
Banking/Finance: BANKING
Budget: BUD
Business/Small Business: BUS
Campaigns/Elections: CAMPAIGN
Casework: CASE
Civil Liberties/Privacy: CIVIL
Commerce: CMRC
Communications: COMM
Condolence: CONDOLENCE
Congratulations: CONGRATS
Crime: CRIME
Defense and Military: DEF
Drug Policy: DRUGS
Education: ED
Elections and Voting: ELECT/VOTE
Employment: EMP
Energy/Water Policy: EN
Environment: ENV
Ethics - Governmental: ETH
Foreign Affairs: FOR.AFF
Foreign Trade: FOR.TDE
Fort MacPherson Commisary Concerns: FTMAC
Gay - Lesbian: GLB
Governmental Affairs: GOV
Guns: GUNS
Health: HEA
Congress/Legislature: HILL
HomeSafe concerns: HOMESAFE
Homeland Security: HOMESEC
Housing and Urban Development: HUD
Immigration: IMM
Judicial Affairs: JUD
Labor: LAB
Medicare: MED
Miscellaneous: MISC
Newsletter-Subscribe: NEWSSUB
No Response Necessary: NRN
Postal Service: POS
Faith/Religion: RELIGION
Small Business Administration: SBA
Scheduling Reqest: SCHEDULE
Science and Technology: SCI
Social Security Administration: SSA
Taxes: TAX
Tour Request: TOUR
"Transportation & Infrastructure": TRAN
Veterans Affairs: VET
Welfare: WELF
Youth: YOUTH
- javascript:
- value: document.querySelector("#contactForm textarea[name='required-message']").value = document.querySelector("#contactForm textarea[name='required-message']").value.replace(/"/g, '');
- click_on:
- value: Send Email
selector: "#contactForm input[type='submit'][value='Send Email']"
- find:
- selector: "span#ctl00_PageLink"
value: "THANK YOU"
success:
headers:
status: 200
body:
contains: "Thank you for contacting us!"