Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
185 lines (185 sloc) 6.5 KB
bioguide: D000622
contact_form:
method: post
action: /content/contact-senator
steps:
- visit: "https://www.duckworth.senate.gov/connect/email-tammy"
- click_on:
- selector: ".opinion a"
- find:
- selector: "#input-356E5F36-5056-A066-6074-9592CE92B2D2"
- fill_in:
- name: "input_356E5F36-5056-A066-6074-9592CE92B2D2"
selector: "#input-356E5F36-5056-A066-6074-9592CE92B2D2"
value: $NAME_FIRST
required: true
- name: "input_356E5C24-5056-A066-600A-182A54465687"
selector: "#input-356E5C24-5056-A066-600A-182A54465687"
value: $NAME_LAST
required: true
- name: "input_356E5FDD-5056-A066-6081-FE972EE9E9DA"
selector: "#input-356E5FDD-5056-A066-6081-FE972EE9E9DA"
value: $ADDRESS_STREET
required: true
- name: "input_356E6078-5056-A066-6034-4DED94E3369A"
selector: "#input-356E6078-5056-A066-6034-4DED94E3369A"
value: $ADDRESS_CITY
required: true
- name: "input_356E5C4B-5056-A066-6054-8C59ADECA3EF"
selector: "#input-356E5C4B-5056-A066-6054-8C59ADECA3EF"
value: $ADDRESS_ZIP5
required: true
- name: "input_356E5FC0-5056-A066-6013-9C5EB3043747"
selector: "#input-356E5FC0-5056-A066-6013-9C5EB3043747"
value: $PHONE
required: true
- name: "input_356E603E-5056-A066-6041-DE4E7E3808C0"
selector: "#input-356E5F19-5056-A066-6018-AC66D9FFA755"
value: $EMAIL
required: true
- name: "input_356E5F19-5056-A066-6018-AC66D9FFA755"
selector: "#email"
value: $EMAIL
required: true
- name: "input_356E5DA0-5056-A066-60C3-EF69B2E21E53"
selector: "#input-356E5DA0-5056-A066-60C3-EF69B2E21E53"
value: $SUBJECT
required: true
- name: "input_356E5E00-5056-A066-603C-9FAC0F3B6888"
selector: "#input-356E5E00-5056-A066-603C-9FAC0F3B6888"
value: $MESSAGE
required: true
- select:
- name: "input_356E605B-5056-A066-609C-BFFE9DAB1A8B"
selector: "#input-356E605B-5056-A066-609C-BFFE9DAB1A8B"
value: $NAME_PREFIX
required: true
options:
Mr.: Mr.
Ms.: Ms.
Mrs.: Mrs.
Mx.: Mx.
Professor: Professor
Dr.: Dr.
Father: Father
Sister: Sister
Rabbi: Rabbi
Reverend: Reverend
- name: "input_356E5B73-5056-A066-60BE-0B9B6F422B57"
selector: "#input-356E5B73-5056-A066-60BE-0B9B6F422B57"
value: $ADDRESS_STATE_POSTAL_ABBREV
required: true
options:
AA: AA
AE: AE
AP: AP
AL: AL
AK: AK
AR: AR
AZ: AZ
CA: CA
CO: CO
CT: CT
DC: DC
DE: DE
FL: FL
GA: GA
HI: HI
ID: ID
IL: IL
IN: IN
IA: IA
KS: KS
KY: KY
LA: LA
ME: ME
MD: MD
MA: MA
MI: MI
MN: MN
MS: MS
MO: MO
MT: MT
NE: NE
NV: NV
NH: NH
NJ: NJ
NM: NM
NY: NY
NC: NC
ND: ND
OH: OH
OK: OK
OR: OR
PA: PA
RI: RI
SC: SC
SD: SD
TN: TN
TX: TX
UT: UT
VT: VT
VA: VA
WA: WA
WV: WV
WI: WI
WY: WY
- name: "input_356E5B93-5056-A066-6052-9F850C8A291E"
selector: "#input-356E5B93-5056-A066-6052-9F850C8A291E"
value: $TOPIC
required: true
options:
Agriculture, Farm Bill: Agriculture, Farm Bill
Animals: Animals
Arts and Humanities: Arts and Humanities
Banking and Finance: Banking and Finance
Campaign Finance Reform and Elections: Campaign Finance Reform and Elections
Civil Rights: Civil Rights
Children and Families: Children and Families
Defense and Military: Defense and Military
Disability Rights: Disability Rights
Economy and Jobs: Economy and Jobs
Education: Education
Energy and Environment: Energy and Environment
Federal and Postal Employees and Retirees: Federal and Postal Employees and Retirees
Foreign Relations: Foreign Relations
Gender Equality: Gender Equality
Government Oversight and Accountability: Government Oversight and Accountability
Gun Control: Gun Control
Health Care Policy: Health Care Policy
Homeland Security: Homeland Security
Housing: Housing
Immigration: Immigration
Indian Affairs: Indian Affairs
Judiciary and Criminal Justice Reform: Judiciary and Criminal Justice Reform
LGBTQ: LGBTQ
Medicare and Medicaid: Medicare and Medicaid
National Service and Community Service: National Service and Community Service
Nutrition and Hunger: Nutrition and Hunger
Regulatory Reform: Regulatory Reform
Senior Citizens: Senior Citizens
Science, Space and Technology: Science, Space and Technology
Small Business: Small Business
Social Security: Social Security
Taxes: Taxes
Telecommunications: Telecommunications
Trade: Trade
Transportation and Infrastructure: Transportation and Infrastructure
Veterans: Veterans
White House: White House
- javascript:
- value: document.getElementById('input-356E5FC0-5056-A066-6013-9C5EB3043747').value = document.getElementById('input-356E5FC0-5056-A066-6013-9C5EB3043747').value.replace(/(\d{3})(\d{3})(\d+)/, '$1-$2-$3')
- javascript:
- value: document.querySelector("#input-356E5E00-5056-A066-603C-9FAC0F3B6888").value = document.querySelector("#input-356E5E00-5056-A066-603C-9FAC0F3B6888").value.replace(/"/g, '');
- javascript:
- value: document.querySelector("input.btn").click();
- wait:
- value: 3
- find:
- selector: "h1"
value: "Thank You"
success:
headers:
status: 200
body:
contains: "Thank you for contacting my office."
You can’t perform that action at this time.