mirror of
https://github.com/unitedstates/contact-congress.git
synced 2025-12-19 09:27:29 -05:00
89 lines
2.7 KiB
YAML
89 lines
2.7 KiB
YAML
bioguide: L000571
|
|
contact_form:
|
|
method: post
|
|
action: /#wpcf7-f8521-p45-o1
|
|
steps:
|
|
- visit: "https://www.lummis.senate.gov/contact/contact-form/"
|
|
- wait:
|
|
- value: 3
|
|
- javascript:
|
|
- value: "Array.prototype.forEach.call(document.querySelectorAll('style,[rel=\"stylesheet\"],[type=\"text/css\"]'), function(element){ try{ element.parentNode.removeChild(element) } catch(err){} });"
|
|
- fill_in:
|
|
- name: "FirstName"
|
|
selector: "input[name='FirstName']"
|
|
value: $NAME_FIRST
|
|
required: true
|
|
- name: "LastName"
|
|
selector: "input[name='LastName']"
|
|
value: $NAME_LAST
|
|
required: true
|
|
- name: "your-message"
|
|
selector: "textarea[name='your-message']"
|
|
value: $MESSAGE
|
|
required: true
|
|
- name: "Address1"
|
|
selector: "input[name='Address1']"
|
|
value: $ADDRESS_STREET
|
|
required: true
|
|
- name: "City"
|
|
selector: "input[name='City']"
|
|
value: $ADDRESS_CITY
|
|
required: true
|
|
- name: "ZipCode"
|
|
selector: "input[name='ZipCode']"
|
|
value: $ADDRESS_ZIP5
|
|
required: true
|
|
- name: "your-email"
|
|
selector: "input[name='your-email']"
|
|
value: $EMAIL
|
|
required: true
|
|
- select:
|
|
- name: "Topic"
|
|
selector: "select[name='Topic']"
|
|
value: $TOPIC
|
|
required: true
|
|
options:
|
|
- Agriculture
|
|
- Animal Rights
|
|
- Arts & humanities
|
|
- Civil Rights
|
|
- Commerce
|
|
- Congress
|
|
- Crime and law enforcement
|
|
- Defense and military
|
|
- Economy
|
|
- Education
|
|
- Emergency management
|
|
- Engergy
|
|
- Environment
|
|
- Families
|
|
- Finance
|
|
- Government
|
|
- Health
|
|
- Housing
|
|
- Immigration
|
|
- International affairs
|
|
- Labor
|
|
- Public Lands
|
|
- Law
|
|
- Native Americans
|
|
- Social science and history
|
|
- Sports and recreation
|
|
- Taxation
|
|
- Transportation and public works
|
|
- Trade
|
|
- Water
|
|
- Welfare
|
|
- click_on:
|
|
- value: Send
|
|
selector: input[type='submit']
|
|
- wait:
|
|
- value: 10
|
|
- javascript:
|
|
- value: "Array.prototype.forEach.call(document.querySelectorAll('style,[rel=\"stylesheet\"],[type=\"text/css\"]'), function(element){ try{ element.parentNode.removeChild(element) } catch(err){} });"
|
|
success:
|
|
headers:
|
|
status: 200
|
|
body:
|
|
contains: Thank you
|