Permalink
Fetching contributors…
Cannot retrieve contributors at this time
138 lines (137 sloc) 4.35 KB
bioguide: L000554
contact_form:
method: post
action: "/htbin/formproc_za/zip-auth.txt&form=/contact-me/email-me-zip-authenticated&nobase&fpGetVer=2"
steps:
- visit: "https://lobiondo.house.gov/contact-me/email-me"
- fill_in:
- name: required-zip5
selector: "#required-zip5"
value: $ADDRESS_ZIP5
required: true
- name: zip4
selector: "#zip4"
value: $ADDRESS_ZIP4
required: true
- click_on:
- value: Go To Next Step
selector: "#submit"
- find:
- selector: "#contactForm"
- fill_in:
- name: required-first
selector: "#required-first"
value: $NAME_FIRST
required: true
- name: required-last
selector: "#required-last"
value: $NAME_LAST
required: true
- name: required-address
selector: "#required-address"
value: $ADDRESS_STREET
required: true
- name: address2
selector: "#address2"
value: $ADDRESS_STREET_2
required: false
- name: required-city
selector: "#required-city"
value: $ADDRESS_CITY
required: true
- name: required-valid-email
selector: "#required-valid-email"
value: $EMAIL
required: true
- name: phone
selector: "#phone"
value: $PHONE
required: false
- name: required-subject
selector: "#required-subject"
value: $SUBJECT
required: true
- name: required-message
selector: "#required-message"
value: $MESSAGE
required: true
- select:
- name: required-prefix
selector: "#required-prefix"
value: $NAME_PREFIX
required: true
options:
- Mr.
- Ms.
- Miss
- Mrs.
- Dr.
- name: required-issue
selector: "#required-issue"
value: $TOPIC
required: true
options:
Abortion: ABR
Agriculture/Food: AG
Animals: ANIM
Appropriations: APPR
"Arts, Culture, Religion": ARTS
Banking or Financial: BANK
Budget (Federal): BUDG
Civil Rights: CIVR
Commerce or Consumer Issues: CMRCE
Communications/TV/Radio/Tele/Internet: COMM
Defense: DEF
Economy: ECON
Education: ED
Election or Campaign Issues: ELEC
Emergency Management/FEMA: EMER
Energy: ENER
"Environment, Natural Resources or Parks": ENV
Ethics (U.S. Congress): ETH
Executive Branch: ADM
Families/Adoptions: FAM
Fish or Fishery Issues: FISH
Gambling and Gaming: GAME
"Guns, 2nd Amendment": GUNS
"Health (except Medicare & Medicaid)": HEA
Homeland/Domestic Security Issues: HS
Housing or Community Development: HOUSE
Immigration: IMM
Intelligence/CIA Issues: INTEL
International Affairs: IR
Judiciary/Controlled Substances/Crime: JUD
Labor/Employment: LABR
Medicare/Medicaid: MED
Native Americans: NAM
Public Lands/Natural Resources/National Parks: PLNR
Postal Service Issues: POST
Science/Space/NASA: SCI
Small Business: SBIS
"Social Sciences & History": SOC
Social Security: SS
Sports and Recreation: SREC
Taxes: TAX
Thanks or accolades for the Congressman: THANKS
Trade (International): TRAD
Transportation: TRAN
Veterans: VETS
Welfare/Public Assistance: WELF
"Water Resources & Development": WTR
- check:
- name: speech
selector: "#speech_0"
value: Voice
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- click_on:
- value: Send Email
selector: "#submit"
- find:
- selector: "h1#page-title-no-line"
value: "Thank You"
success:
headers:
status: 200
body:
contains: "The following information has been submitted:"