-
Notifications
You must be signed in to change notification settings - Fork 212
/
E000215.yaml
118 lines (118 loc) · 3.99 KB
/
E000215.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
bioguide: E000215
contact_form:
method: post
action: "/htbin/formproc.pl?/eshoo/wp-content/themes/Eshoo/formfiles/contact.txt&display=/eshoo/wp-content/themes/Eshoo/formfiles/redirect.html&nobase&fpGetVer=2"
steps:
- visit: "http://eshoo.house.gov/contact/"
- fill_in:
- name: salutation
selector: "#atform input[name='salutation']"
value: $NAME_PREFIX
required: true
- name: first_name
selector: "#atform input[name='first_name']"
value: $NAME_FIRST
required: true
- name: last_name
selector: "#atform input[name='last_name']"
value: $NAME_LAST
required: true
- name: street_address
selector: "#atform input[name='street_address']"
value: $ADDRESS_STREET
required: true
- name: street_address2
selector: "#atform input[name='street_address2']"
value: $ADDRESS_STREET_2
required: false
- name: city
selector: "#atform input[name='city']"
value: $ADDRESS_CITY
required: true
- name: zip_code
selector: "#atform input[name='zip_code']"
value: $ADDRESS_ZIP5
required: true
- name: primary_phone
selector: "#atform input[name='primary_phone']"
value: $PHONE
required: true
- name: email
selector: "#email"
value: $EMAIL
required: true
- name: verify_email
selector: "#atform input[name='verify_email']"
value: $EMAIL
required: true
- name: con_message
selector: "#atform textarea[name='con_message']"
value: $MESSAGE
required: true
- select:
- name: con_issue
selector: "#atform select[name='con_issue']"
value: $TOPIC
required: true
options:
Agriculture: AGRICULTURE
Animals: ANIMALS
Appointments: APPOINTMENTS
Appropriations: APPROPRIATIONS
Banking: BANKING
Budget: BUDGET
Children: CHILDREN
Civil Rights: CIVILRIGHTS
Civil Service: CIVILSERVICE
Congress: CONGRESS
Crime/Gun Control: CRIME
Economy: ECONOMY
Defense/War: DEFENSE
Drugs: DRUGS
Education: EDUCATION
Elections/Voting: ELECTIONS
Energy: ENERGY
Environment: ENVIRONMENT
Foreign Affairs: FOREIGNAFFAIRS
Gay/Lesbian Issues: GAYS
Health: HEALTH
Housing: HOUSING
Immigration: IMMIGRATION
Judiciary: JUDICIARY
Jobs: JOBS
Labor: LABOR
Medicaid/Medicare: MEDICAID
Military/Armed Services: MILITARY
Native Americans: NATIVE AMERICANS
Passports: PASSPORTS
Politics: POLITICS
Post Office: POSTOFFICE
Poverty: POVERTY
The President: PRESIDENT
Science: SCIENCE
Small Business: SMALLBUSINESS
Social Security: SOCIALSECURITY
Space/NASA: SPACE
Taxation: TAX
Technology: TECHNOLOGY
Telecommunications: TELECOM
Telephone Town Hall: TELEPHONE TOWN HALL
Terrorism: TERRORISM
Trade/Commerce: TRADE
Transportation: TRANSPORTATION
Veterans Affairs: VETERANS
Welfare/Poverty: WELFARE
"Women's Issues": WOMEN
Miscellaneous/Other: MISCELLANEOUS
- javascript:
- value: document.querySelector("#atform textarea[name='con_message']").value = document.querySelector("#atform textarea[name='con_message']").value.replace(/"/g, '').replace(/;/g, ',');
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#atform input[type='submit'][value='Submit']"
success:
headers:
status: 200
body:
contains: Thank you