-
Notifications
You must be signed in to change notification settings - Fork 213
/
Copy pathT000461.yaml
117 lines (117 loc) · 4.6 KB
/
T000461.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
bioguide: T000461
contact_form:
method: post
action: "https://www.toomey.senate.gov/contact/email-senator-toomey"
steps:
- visit: "https://www.toomey.senate.gov/contact/email-senator-toomey"
- javascript:
- value: "document.querySelector('.MobileHeader').remove(); Array.prototype.forEach.call(document.querySelectorAll('style,[rel=\"stylesheet\"],[type=\"text/css\"]'), function(element){ try{ element.parentNode.removeChild(element) } catch(err){} });"
- fill_in:
- name: input_B03E05C4-4040-F985-52CD-9CA44623DE5E
selector: "#input-B03E05C4-4040-F985-52CD-9CA44623DE5E"
value: $NAME_FIRST
required: true
- name: input_B03E04BD-4040-F985-52CD-48E090E769DA
selector: "#input-B03E04BD-4040-F985-52CD-48E090E769DA"
value: $NAME_LAST
required: true
- name: input_B03E05F1-4040-F985-52CD-A580E72A7D41
selector: "#input-B03E05F1-4040-F985-52CD-A580E72A7D41"
value: $ADDRESS_STREET
required: true
- name: input_B03E0518-4040-F985-52CD-CF33EF97DA3A
selector: "#input-B03E0518-4040-F985-52CD-CF33EF97DA3A"
value: $ADDRESS_STREET_2
required: false
- name: input_B03E0595-4040-F985-52CD-C572364023FE
selector: "#input-B03E0595-4040-F985-52CD-C572364023FE"
value: $ADDRESS_CITY
required: true
- name: input_B03E04CC-4040-F985-52CD-4DDB58DA474A
selector: "#input-B03E04CC-4040-F985-52CD-4DDB58DA474A"
value: $ADDRESS_ZIP5
required: true
- name: input_B03E046E-4040-F985-52CD-A2F10450D58D
selector: "#input-B03E046E-4040-F985-52CD-A2F10450D58D"
value: $PHONE
required: true
- name: input_B03E0536-4040-F985-52CD-AFE12CDE8D31
selector: "#email"
value: $EMAIL
required: true
- name: input_B03E05A4-4040-F985-52CD-730C08912F4F
selector: "#input-B03E05A4-4040-F985-52CD-730C08912F4F"
value: $EMAIL
required: true
- name: input_3419261B-FDD1-C969-1E6E-A4C1EB5F50DC
selector: "#input-3419261B-FDD1-C969-1E6E-A4C1EB5F50DC"
value: $SUBJECT
required: true
- name: input_B03E05B4-4040-F985-52CD-8DF0BC10EEE2
selector: "#input-B03E05B4-4040-F985-52CD-8DF0BC10EEE2"
value: $MESSAGE
required: true
- select:
- name: input_B03E04DB-4040-F985-52CD-18F332336F99
selector: "#issue-topic"
value: $TOPIC
required: true
options:
2nd Amendment: 2ND AMENDMENT
Abortion: ABORTION
Academy Nominations: ACADEMY NOMINATIONS
Agriculture and Nutrition: AGRICULTURE AND NUTRITION
Animal Welfare: ANIMAL WELFARE
Armed Services: ARMED SERVICES
Banking and Financial Services: BANKING AND FINANCIAL SERVICES
Budget: BUDGET
Census: CENSUS
Economy: ECONOMY
Education: EDUCATION
Energy: ENERGY
Environment: ENVIRONMENT
Foreign Relations: FOREIGN RELATIONS
Grants: GRANTS
Healthcare: HEALTHCARE
Housing: HOUSING
Immigration: IMMIGRATION
Internet/Telecommunications: INTERNET/TELECOMMUNICATIONS
Jobs and Labor: JOBS AND LABOR
Judiciary Issues: JUDICIARY ISSUES
Medicaid: MEDICAID
National Security: NATIONAL SECURITY
Postal Service: POSTAL SERVICE
Sentencing Reform: SENTENCING REFORM
Social Security and Medicare: SOCIAL SECURITY AND MEDICARE
Taxes: TAXES
Tour Request: TOUR REQUEST
Trade: TRADE
Transportation: TRANSPORTATION
Veterans: VETERANS
- name: input_B03E0527-4040-F985-52CD-C0DD6BEF325F
selector: "#input-B03E0527-4040-F985-52CD-C0DD6BEF325F"
value: $NAME_PREFIX
required: true
options:
- Mr.
- Ms.
- Mrs.
- Professor
- Dr.
- Father
- Sister
- Rabbi
- Reverand
- javascript:
- value: document.querySelector("#input-B03E05B4-4040-F985-52CD-8DF0BC10EEE2").value = document.querySelector("#input-B03E05B4-4040-F985-52CD-8DF0BC10EEE2").value.replace(/"/g, '');
- javascript:
- value: document.querySelector(".btn").disabled = false;
- click_on:
- selector: ".btn"
- wait:
- value: 3
success:
headers:
status: 200
body:
contains: Your message has been sent.