Fetching contributors…
Cannot retrieve contributors at this time
117 lines (116 sloc) 3.9 KB
bioguide: S001157
method: post
action: /contact.aspx
- visit: ""
- fill_in:
- name: required-first
selector: "#contactForm input[name='required-first']"
value: $NAME_FIRST
required: true
- name: required-last
selector: "#contactForm input[name='required-last']"
value: $NAME_LAST
required: true
- name: required-address
selector: "#contactForm input[name='required-address']"
required: true
- name: required-city
selector: "#contactForm input[name='required-city']"
required: true
- name: zip5
selector: "#contactForm input[name='zip5']"
value: $ADDRESS_ZIP5
required: true
- name: required-email
selector: "#contactForm input[name='required-email']"
value: $EMAIL
required: true
- name: required-message
selector: "#contactForm textarea[name='required-message']"
value: $MESSAGE
required: true
- select:
- name: required-prefix
selector: "#contactForm select[name='required-prefix']"
required: true
- Mr.
- Ms.
- Mrs.
- "Mr. & Mrs."
- Dr.
- name: required-issue
selector: "#contactForm select[name='required-issue']"
value: $TOPIC
required: true
Adoption/Child Care and Support: ADOPT
Animal Rights: ANIMALS
Arts and Humanities: ART
Banking/Finance: BANKING
Budget: BUD
Business/Small Business: BUS
Campaigns/Elections: CAMPAIGN
Casework: CASE
Civil Liberties/Privacy: CIVIL
Commerce: CMRC
Communications: COMM
Condolence: CONDOLENCE
Congratulations: CONGRATS
Crime: CRIME
Defense and Military: DEF
Drug Policy: DRUGS
Education: ED
Elections and Voting: ELECT/VOTE
Employment: EMP
Energy/Water Policy: EN
Environment: ENV
Ethics - Governmental: ETH
Foreign Affairs: FOR.AFF
Foreign Trade: FOR.TDE
Fort MacPherson Commisary Concerns: FTMAC
Gay - Lesbian: GLB
Governmental Affairs: GOV
Guns: GUNS
Health: HEA
Congress/Legislature: HILL
HomeSafe concerns: HOMESAFE
Homeland Security: HOMESEC
Housing and Urban Development: HUD
Immigration: IMM
Judicial Affairs: JUD
Labor: LAB
Medicare: MED
Miscellaneous: MISC
Newsletter-Subscribe: NEWSSUB
No Response Necessary: NRN
Postal Service: POS
Faith/Religion: RELIGION
Small Business Administration: SBA
Scheduling Reqest: SCHEDULE
Science and Technology: SCI
Social Security Administration: SSA
Taxes: TAX
Tour Request: TOUR
"Transportation & Infrastructure": TRAN
Veterans Affairs: VET
Welfare: WELF
Youth: YOUTH
- javascript:
- value: document.querySelector("#contactForm textarea[name='required-message']").value = document.querySelector("#contactForm textarea[name='required-message']").value.replace(/"/g, '');
- click_on:
- value: Send Email
selector: "#contactForm input[type='submit'][value='Send Email']"
- find:
- selector: "span#ctl00_PageLink"
value: "THANK YOU"
status: 200
contains: "Thank you for contacting us!"