Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
103 lines (103 sloc) 3.3 KB
bioguide: P000603
contact_form:
method: post
action: "/connect/email-rand"
steps:
- visit: "https://www.paul.senate.gov/connect/email-rand"
- fill_in:
- name: prefix
selector: "#edit-prefix"
value: $NAME_PREFIX
required: true
- name: first
selector: "#edit-first"
value: $NAME_FIRST
required: true
- name: last
selector: "#edit-last"
value: $NAME_LAST
required: true
- name: addr1
selector: "#edit-addr1"
value: $ADDRESS_STREET
required: true
- name: city
selector: "#edit-city"
value: $ADDRESS_CITY
required: true
- name: zip
selector: "#edit-zip"
value: $ADDRESS_ZIP5
required: true
- name: phone
selector: "#edit-phone"
value: $PHONE
required: true
- name: email
selector: "#edit-email"
value: $EMAIL
required: true
- name: subject
selector: "#edit-subject"
value: $SUBJECT
required: true
- name: message
selector: "#edit-message"
value: $MESSAGE
required: true
max_length: 1200
- select:
- name: issue
selector: "#edit-issue"
value: $TOPIC
required: true
options:
Abortion and Pro-Life: "ABORTION"
Agriculture: "AGR"
Animal Welfare: "ANIMAL"
Appropriations: "APPROPRIATIONS"
Arts and Humanities: "ARTS"
Banking: "BANKING"
Judicial Nominations: "JUDICIAL NOMINATIONS"
Crime and Law Enforcement: "CRIME"
National Security, Armed Services, and Intelligence: "NAT SEC /DEF /INTELL"
Economic and Rural Development: "ECONOMIC AND RURAL"
Education: "EDU"
Energy and Natural Resources: "ENE"
Environment: "ENV"
Foreign Affairs: "FA"
FEMA: "FEMA"
Guns / Second Amendment: "2NDAMEND"
Health Care: "HEA"
Homeland Security and TSA: "HOM"
Immigration and Border Security: "IMM"
Labor and Pensions: "LABOR"
Post Offices and Postal Service: "POSTAL"
Science, Space, and Technology: "SCI / SPACE / TECH"
Small Business: "SMALLBUS"
Social Security: "SSEC"
Taxes: "TAX"
Internet, Radio, and Television: "INTERNET / RADIO /TV"
Transportation: "TRA"
Trade and Commerce: "TRADE"
Veterans Issues: "VETS"
Constitutional Issues: "CONSTITUTION"
- javascript:
- value: document.querySelector("#edit-message").value = document.querySelector("#edit-message").value.replace(/"/g, '');
- javascript:
- value: document.querySelector("#g-recaptcha-response").style.display = "block";
- recaptcha:
- value: true
- javascript:
- value: document.querySelector("#edit-submit--2").click();
- wait:
- value: 3
- javascript:
- value: document.querySelector("#edit-submit--2").click();
- find:
- selector: ".alert-success"
success:
headers:
status: 200
body:
contains: Thank you for your email.
You can’t perform that action at this time.