Files
contact-congress/members/D000618.yaml
2023-07-20 11:24:07 -04:00

248 lines
9.1 KiB
YAML

bioguide: D000618
contact_form:
method: post
action: "https://www.daines.senate.gov/services/email-steve/"
steps:
- visit: "https://www.daines.senate.gov/services/email-steve/"
- wait:
- value: 2
- 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: form_fields[first_name]
selector: "#form-field-first_name"
value: $NAME_FIRST
required: true
- name: form_fields[last_name]
selector: "#form-field-last_name"
value: $NAME_LAST
required: true
- name: form_fields[address]
selector: "#form-field-address"
value: $ADDRESS_STREET
required: true
- name: form_fields[city]
selector: "#form-field-city"
value: $ADDRESS_CITY
required: true
- name: form_fields[zip_code]
selector: "#form-field-zip_code"
value: $ADDRESS_ZIP5
required: true
- name: form_fields[email]
selector: "#form-field-email"
value: $EMAIL
required: true
- name: form_fields[subject]
selector: "#form-field-subject"
value: $SUBJECT
required: true
- name: form_fields[message]
selector: "#form-field-message"
value: $MESSAGE
required: true
- select:
- name: form_fields[field_5703f4a]
selector: "#form-field-field_5703f4a"
value: $NAME_PREFIX
required: true
options:
- Mr.
- Ms.
- Mrs.
- Professor
- Dr.
- Father
- Sister
- Rabbi
- Reverend
- Air Force - General
- Air Force - Lieutenant General
- Air Force - Major General
- Air Force - Brigadier General
- Air Force - Colonel
- Air Force - Lieutenant Colonel
- Air Force - Major
- Air Force - Captain
- Air Force - First Lieutenant
- Air Force - Second Lieutenant
- Air Force - Chief Master Sergeant of the Air Force
- Air Force - Command Chief Master Sergeant
- Air Force - First Sergeant (E-9)
- Air Force - Chief Master Sergeant
- Air Force - First Sergeant (E-8)
- Air Force - Senior Master Sergeant
- Air Force - First Sergeant (E-7)
- Air Force - Master Sergeant
- Air Force - Technical Sergeant
- Air Force - Staff Sergeant
- Air Force - Senior Airman
- Air Force - Airman First Class
- Air Force - Airman
- Air Force - Airman Basic
- Army - General
- Army - Lieutenant General
- Army - Major General
- Army - Brigadier General
- Army - Colonel
- Army - Lieutenant Colonel
- Army - Major
- Army - Captain
- Army - First Lieutenant
- Army - Second Lieutenant
- Army - Chief Warrant Officer - 5
- Army - Chief Warrant Officer - 4
- Army - Chief Warrant Officer - 3
- Army - Chief Warrant Officer - 2
- Army - Warrant Officer
- Army - Sergeant Major of the Army
- Army - Command Sergeant Major
- Army - Sergeant Major
- Army - First Sergeant
- Army - Master Sergeant
- Army - Sergeant First Class
- Army - Staff Sergeant
- Army - Sergeant
- Army - Corporal
- Army - Specialist
- Army - Private First Class
- Army - Private (E-2)
- Army - Private
- Coast Guard - Admiral
- Coast Guard - Vice Admiral
- "Coast Guard - Rear Admiral, Upper Half"
- "Coast Guard - Rear Admiral, Lower Half"
- Coast Guard - Captain
- Coast Guard - Commander
- Coast Guard - Lieutenant Commander
- Coast Guard - Lieutenant
- Coast Guard - Lieutenant Junior Grade
- Coast Guard - Ensign
- Coast Guard - Chief Warrant Officer - 4
- Coast Guard - Chief Warrant Officer - 3
- Coast Guard - Chief Warrant Officer - 2
- Coast Guard - Master Chief Petty Officer of the Coast Guard
- Coast Guard - Master Chief Petty Officer
- Coast Guard - Senior Chief Petty Officer
- Coast Guard - Chief Petty Officer
- Coast Guard - Petty Officer First Class
- Coast Guard - Petty Officer Second Class
- Coast Guard - Petty Officer Third Class
- Coast Guard - Seaman
- Coast Guard - Seaman Apprentice
- Coast Guard - Seaman Recruit
- Marine Corps - General
- Marine Corps - Lieutenant General
- Marine Corps - Major General
- Marine Corps - Brigadier General
- Marine Corps - Colonel
- Marine Corps - Lieutenant Colonel
- Marine Corps - Major
- Marine Corps - Captain
- Marine Corps - First Lieutenant
- Marine Corps - Second Lieutenant
- Marine Corps - Chief Warrant Officer - 5
- Marine Corps - Chief Warrant Officer - 4
- Marine Corps - Chief Warrant Officer - 3
- Marine Corps - Chief Warrant Officer - 2
- Marine Corps - Warrant Officer
- Marine Corps - Sergeant Major of the Marine Corps
- Marine Corps - Sergeant Major
- Marine Corps - Master Gunnery Sergeant
- Marine Corps - First Sergeant
- Marine Corps - Master Sergeant
- Marine Corps - Gunnery Sergeant
- Marine Corps - Staff Sergeant
- Marine Corps - Sergeant
- Marine Corps - Corporal
- Marine Corps - Lance Corporal
- Marine Corps - Private First Class
- Marine Corps - Private
- Navy - Admiral
- Navy - Vice Admiral
- "Navy - Rear Admiral, Upper Half"
- "Navy - Rear Admiral, Lower Half"
- Navy - Captain
- Navy - Commander
- Navy - Lieutenant Commander
- Navy - Lieutenant
- Navy - Lieutenant Junior Grade
- Navy - Ensign
- Navy - Chief Warrant Officer - 4
- Navy - Chief Warrant Officer - 3
- Navy - Chief Warrant Officer - 2
- Navy - Master Chief Petty Officer of the Navy
- Navy - Master Chief Petty Officer
- Navy - Senior Chief Petty Officer
- Navy - Chief Petty Officer
- Navy - Petty Officer First Class
- Navy - Petty Officer Second Class
- Navy - Petty Officer Third Class
- Navy - Seaman Apprentice
- Navy - Seaman
- Navy - Seaman Recruit
- select:
- name: form_fields[topic]
selector: "#form-field-topic"
value: $TOPIC
required: true
options:
- Adoption
- Aging
- Agriculture
- Animal Welfare
- Banking / Securities
- Budget / Appropriations
- Children
- Civil Rights
- Congratulations
- Congressional Issues
- Crime
- Defense
- Drugs
- Economy
- Education Higher
- Education K through 12
- Elections
- Energy / Natural Resources
- Environment
- Foreign Affairs
- Government Reform
- Healthcare
- Housing
- Immigration
- Inauguration
- Judiciary
- Labor
- Life Issues
- Medicaid / Medicare
- Montana Values
- NASA
- Nutrition
- Other
- Patents
- Pensions
- Second Amendment
- Small Business
- Social Security
- Taxes
- Telecommunications
- Trade / Commerce
- Transportation
- Veterans
- Welfare
- "Women's Issues"
- javascript:
- value: document.querySelector("#form-field-message").value = document.querySelector("#form-field-message").value.replace(/"/g, '');
- click_on:
- selector: button[type='submit']
- javascript:
- value: "Array.prototype.forEach.call(document.querySelectorAll('style,[rel=\"stylesheet\"],[type=\"text/css\"]'), function(element){ try{ element.parentNode.removeChild(element) } catch(err){} });"
- javascript:
- value: document.querySelector(".elementor-message-success").style.display = "block";
success:
headers:
status: 200
body:
contains: Email Steve