Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
119 lines (119 sloc) 3.99 KB
bioguide: P000449
contact_form:
method: post
action: ""
steps:
- visit: "https://www.portman.senate.gov/meet/contact"
- fill_in:
- name: "name[title]"
selector: "#edit-name-title"
value: $NAME_PREFIX
required: false
- name: "name[first]"
selector: "#edit-name-first"
value: $NAME_FIRST
required: true
- name: "name[last]"
selector: "#edit-name-last"
value: $NAME_LAST
required: true
- name: "address[address]"
selector: "#edit-address-address"
value: $ADDRESS_STREET
required: true
- name: "address[city]"
selector: "#edit-address-city"
value: $ADDRESS_CITY
required: true
- name: "address[postal_code]"
selector: "#edit-address-postal-code"
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
- select:
- name: "address[state_province]"
selector: "#edit-address-state-province"
value: $ADDRESS_STATE_POSTAL_ABBREV
required: true
- name: "topic"
selector: "#edit-topic"
value: $TOPIC
required: true
options:
Abortion: Abortion
Aging and Seniors: Aging and Seniors
Agriculture: Agriculture
Animal Rights: Animal Rights
Appropriations: Appropriations
Banking: Banking
Budget: Budget
Campaign Finance: Campaign Finance
Child Abuse: Child Abuse
Civil Rights/Humanities: Civil Rights/Humanities
Civil Service/Postal: Civil Service/Postal
Commerce: Commerce
Communications: Communications
Commemorative/Congratulatory/Memorative: Commemorative/Congratulatory/Memorative
"Drugs/Crime,Second Amendment": Drugs/Crime,Second Amendment
Defense: Defense
Education Higher: Education Higher
Education K through 12: Education K through 12
Elections: Elections
Energy: Energy
Environment/Public Works: Environment/Public Works
Family/Marriage: Family/Marriage
Flag Requests: Flag Requests
Foreign Affairs: Foreign Affairs
Health: Health
Housing: Housing
Immigration Reform: Immigration Reform
Insurance: Insurance
Interior: Interior
Internship: Internship
Jobs and the Economy: Jobs and the Economy
Judiciary: Judiciary
Labor: Labor
Medicaid: Medicaid
Medicare: Medicare
NASA: NASA
Native American Affairs: Native American Affiars
Patents: Patents
Pensions: Pensions
Security: Security
Small Business: Small Business
Social Security: Social Security
Taxes: Taxes
Tobacco: Tobacco
Trade: Trade
Transportation: Transportation
Veterans: Veterans
Welfare: Welfare
- javascript:
- value: document.querySelector("#edit-message").value = document.querySelector("#edit-message").value.replace(/"/g, '');
- javascript:
- value: "document.querySelector('#g-recaptcha-response').style.cssText = 'display: block; margin-top: 5em;';"
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#edit-actions-submit"
success:
headers:
status: 200
body:
contains: "Thank you for contacting my office."
You can’t perform that action at this time.