-
Notifications
You must be signed in to change notification settings - Fork 211
/
R000575.yaml
132 lines (132 loc) · 4.24 KB
/
R000575.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
130
131
132
bioguide: R000575
contact_form:
method: post
action: "/htbin/formproc_za/zip-auth.txt&form=/contact-mike/email-me-zip-authenticated&nobase&fpGetVer=2"
steps:
- visit: "http://mikerogers.house.gov/contact-mike/email-me"
- fill_in:
- name: zip5
selector: "#zip5"
value: $ADDRESS_ZIP5
required: true
- name: zip4
selector: "#zip4"
value: $ADDRESS_ZIP4
required: true
- click_on:
- value: Go To Next Step
selector: "#submit"
- find:
- selector: form.validate.wsbform
- wait:
- value: 5
- fill_in:
- name: required-prefix
selector: "#prefix"
value: $NAME_PREFIX
required: true
- name: required-first
selector: "form.validate.wsbform input[name='required-first']"
value: $NAME_FIRST
required: true
- name: required-last
selector: "form.validate.wsbform input[name='required-last']"
value: $NAME_LAST
required: true
- name: required-addr1
selector: "form.validate.wsbform input[name='required-addr1']"
value: $ADDRESS_STREET
required: true
- name: addr2
selector: "form.validate.wsbform input[name='addr2']"
value: $ADDRESS_STREET_2
required: false
- name: required-city
selector: "#city"
value: $ADDRESS_CITY
required: true
- name: required-state
selector: "#state"
value: $ADDRESS_STATE_POSTAL_ABBREV
required: true
- name: required-zip5
selector: "form.validate.wsbform input[name='required-zip5']"
value: $ADDRESS_ZIP5
required: true
- name: phone
selector: "#phone"
value: $PHONE
required: false
- name: required-valid-email
selector: "#email"
value: $EMAIL
required: true
- name: msg
selector: "#message"
value: $MESSAGE
required: true
- name: recaptcha_response_field
selector: "input#recaptcha_response_field"
captcha_selector: "img#recaptcha_challenge_image"
captcha_id_selector: "input#recaptcha_challenge_field"
value: "$CAPTCHA_SOLUTION"
required: true
- select:
- name: required-issue
selector: "#issue"
value: $TOPIC
required: true
options:
Agriculture: AG
Animal Welfare: AN
Arts and Humanities: ART
Banking and Finance: BANK
Budget: BUD
Casework: CASE
Community Development and Organizations: COMMUNITY
Congress and Elections: CONG
Consumer Issues: CMRC
Crime and Drugs: CRIME
Disease Treatment and Research: HE.DISEASE
Economy and Job Creation: ECON
Education: ED
Energy: ENER
Environment: ENV
Ethics: ETH
Food Safety: FOOD
General: GEN
Guns and 2nd Amendment Rights: JUD.GUNS
Healthcare: HE
Homeland Security: HOME
Housing and Urban Development: HUD
Immigration: JUD.IM
International Relations and Human Rights: IR
Judiciary: JUD
Labor: LAB
Medicaid: HE
Medicare: MED
National Security: DEF
Postal Issues: POST
Pro-Life Issues: JUD.AB
Scheduling Requests: SCHE
Science and Technology: SCI
Small Business: SMBU
Social Security: SS
Taxes: TAX
Tele-Comm: COMM
Trade: TRADE
Transportation: TRAN
Troop Benefits: DEF.MIL.BEN
Veterans and Tricare Issues: VET
Welfare: WELF
"Women, Children, and Family": WOMEN
- javascript:
- value: document.querySelector("#message").value = document.querySelector("#message").value.replace(/"/g, '');
- click_on:
- value: Submit Information
selector: "form.validate.wsbform input[name='submit']"
success:
headers:
status: 200
body:
contains: Email Me - Thank You