Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
117 lines (117 sloc) 4.55 KB
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: "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.