Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
58 lines (58 sloc) 2.3 KB
bioguide: W000437
contact_form:
method: post
action: ""
steps:
- visit: "https://www.wicker.senate.gov/public/index.cfm/contact"
- fill_in:
- name: field_3DAAA206-CB3D-4B2C-9733-EF66D9D6B255
selector: "#field_3DAAA206-CB3D-4B2C-9733-EF66D9D6B255"
value: $NAME_FIRST
required: true
- name: field_F848BFD8-DAD0-4072-AE21-1051063C7E68
selector: "#field_F848BFD8-DAD0-4072-AE21-1051063C7E68"
value: $NAME_LAST
required: true
- name: field_232F54D2-55A1-4F95-9B02-B4DF7FB2AB46
selector: "#field_232F54D2-55A1-4F95-9B02-B4DF7FB2AB46"
value: $ADDRESS_STREET
required: true
- name: field_CC548BC3-2FC5-42DD-B604-E625AB2C1390
selector: "#field_CC548BC3-2FC5-42DD-B604-E625AB2C1390"
value: $ADDRESS_CITY
required: true
- name: field_DDABCFFC-CE15-4571-80DE-556F4E4E5E92
selector: "#field_DDABCFFC-CE15-4571-80DE-556F4E4E5E92"
value: $ADDRESS_ZIP5
required: true
- name: field_5EA11758-7780-4A74-9ADD-43F6A0327982
selector: "#field_5EA11758-7780-4A74-9ADD-43F6A0327982"
value: $PHONE
required: true
- name: field_CA1B9D75-D246-4104-BD2F-754B854DD79E
selector: "#field_CA1B9D75-D246-4104-BD2F-754B854DD79E"
value: $EMAIL
required: true
- name: field_5EF876CF-9476-427B-A01B-25AAFD0E013D
selector: "#field_5EF876CF-9476-427B-A01B-25AAFD0E013D"
value: $MESSAGE
required: true
- javascript:
- value: document.querySelector("#field_9CBA10ED-C94F-4770-A165-38166625C0A8").options[8].selected = true
- javascript:
- value: document.querySelector("#field_5EF876CF-9476-427B-A01B-25AAFD0E013D").value = document.querySelector("#field_5EF876CF-9476-427B-A01B-25AAFD0E013D").value.replace(/"/g, '');
- javascript:
- value: "document.querySelector('#g-recaptcha-response').style.cssText = 'display: block; margin-top: 5em;';"
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: input.btn.btn-primary
- find:
- selector: "p"
value: "Thank you for contacting me."
success:
headers:
status: 200
body:
contains: Thank you for contacting me
You can’t perform that action at this time.