Skip to content

Commit

Permalink
more captchas
Browse files Browse the repository at this point in the history
  • Loading branch information
j-ro committed Dec 8, 2016
1 parent c867ae9 commit 6520ca0
Show file tree
Hide file tree
Showing 123 changed files with 381 additions and 153 deletions.
2 changes: 2 additions & 0 deletions members/A000055.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ contact_form:
Other Issue: OTHER
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- selector: "#block-system-main form.bootstrap button.btn.btn-success"
success:
Expand Down
2 changes: 2 additions & 0 deletions members/A000367.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ contact_form:
required: Yes
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: "Send Email"
selector: "#submit"
Expand Down
2 changes: 2 additions & 0 deletions members/A000373.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ contact_form:
No, I wanted to voice my opinion: N
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Send Email to Representative Ashford
selector: "#contactForm #submit"
Expand Down
5 changes: 5 additions & 0 deletions members/B000213.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ contact_form:
selector: "#req_message"
value: $MESSAGE
required: true
- name: captcha
selector: "#captchaTextBox"
captcha_selector: "#captchaImage"
value: $CAPTCHA_SOLUTION
required: true
- select:
- name: prefix
selector: "#req_prefix"
Expand Down
2 changes: 2 additions & 0 deletions members/B000755.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ contact_form:
WEP / GPO: "120681"
- javascript:
- value: document.querySelector("#ctl00_ctl17_Body").value = document.querySelector("#ctl00_ctl17_Body").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#ctl00_ctl17_SubmitButton"
Expand Down
2 changes: 2 additions & 0 deletions members/B001243.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ contact_form:
- VI
- javascript:
- value: document.querySelector("#ctl00_ctl13_Body").value = document.querySelector("#ctl00_ctl13_Body").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#ctl00_ctl13_SubmitButton"
Expand Down
24 changes: 12 additions & 12 deletions members/B001248.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,47 +17,47 @@ contact_form:
- value: Submit
selector: "form.zipform input[type='submit'][value='Submit']"
- find:
- selector: "#ctl00_ctl03_ctl00_Text form input[name='required-prefix']"
- selector: "#ctl00_ctl11_ctl00_Text form input[name='required-prefix']"
- fill_in:
- name: required-prefix
selector: "#ctl00_ctl03_ctl00_Text form input[name='required-prefix']"
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-prefix']"
value: $NAME_PREFIX
required: true
- name: required-first
selector: "#ctl00_ctl03_ctl00_Text form input[name='required-first']"
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-first']"
value: $NAME_FIRST
required: true
- name: required-last
selector: "#ctl00_ctl03_ctl00_Text form input[name='required-last']"
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-last']"
value: $NAME_LAST
required: true
- name: required-address
selector: "#ctl00_ctl03_ctl00_Text form input[name='required-address']"
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-address']"
value: $ADDRESS_STREET
required: true
- name: required-city
selector: "#ctl00_ctl03_ctl00_Text form input[name='required-city']"
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-city']"
value: $ADDRESS_CITY
required: true
- name: required-phone
selector: "#ctl00_ctl03_ctl00_Text form input[name='required-phone']"
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-phone']"
value: $PHONE
required: true
- name: required-email
selector: "#ctl00_ctl03_ctl00_Text form input[name='required-email']"
selector: "#ctl00_ctl11_ctl00_Text form input[name='required-email']"
value: $EMAIL
required: true
- name: required-message
selector: "#ctl00_ctl03_ctl00_Text form textarea[name='required-message']"
selector: "#ctl00_ctl11_ctl00_Text form textarea[name='required-message']"
value: $MESSAGE
required: true
- javascript:
- value: document.querySelector("#ctl00_ctl03_ctl00_Text form textarea[name='required-message']").value = document.querySelector("#ctl00_ctl03_ctl00_Text form textarea[name='required-message']").value.replace(/"/g, '');
- value: document.querySelector("#ctl00_ctl11_ctl00_Text form textarea[name='required-message']").value = document.querySelector("#ctl00_ctl11_ctl00_Text form textarea[name='required-message']").value.replace(/"/g, '');
- click_on:
- value: Send Email
selector: "#ctl00_ctl03_ctl00_Text form input[type='submit'][value='Send Email']"
selector: "#ctl00_ctl11_ctl00_Text form input[type='submit'][value='Send Email']"
- find:
- selector: "span#ctl00_ctl03_ctl00_Text"
- selector: "span#ctl00_ctl11_ctl00_Text"
value: "Thank you for submitting your comments, I appreciate hearing from you."
success:
headers:
Expand Down
2 changes: 2 additions & 0 deletions members/B001251.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ contact_form:
"No, I wanted to voice my opinion": "N"
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Send Email
selector: "#submit"
Expand Down
2 changes: 2 additions & 0 deletions members/B001273.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ contact_form:
value: TEST
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Send Email
selector: "#submit"
Expand Down
2 changes: 2 additions & 0 deletions members/B001274.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ contact_form:
"No, I wanted to voice my opinion": "N"
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- selector: "#submit"
- find:
Expand Down
2 changes: 2 additions & 0 deletions members/B001282.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ contact_form:
"No, I wanted to voice my opinion": "N"
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Send Email
selector: "#contactForm input[name='submit']"
Expand Down
2 changes: 2 additions & 0 deletions members/B001283.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ contact_form:
value: Respond
- javascript:
- value: document.querySelector("#ctl00_ctl15_Body").value = document.querySelector("#ctl00_ctl15_Body").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#ctl00_ctl15_SubmitButton"
Expand Down
2 changes: 2 additions & 0 deletions members/B001284.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ contact_form:
No, I wanted to voice my opinion: N
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Send Email
selector: "#contactForm input[name='submit']"
Expand Down
2 changes: 2 additions & 0 deletions members/B001291.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ contact_form:
value: Respond
- javascript:
- value: document.querySelector("#ctl00_ctl13_Body").value = document.querySelector("#ctl00_ctl13_Body").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#ctl00_ctl13_SubmitButton"
Expand Down
2 changes: 2 additions & 0 deletions members/B001294.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ contact_form:
selector: "#ctl00_ctl09_SubscribeChoice"
- javascript:
- value: document.querySelector("#ctl00_ctl09_Body").value = document.querySelector("#ctl00_ctl09_Body").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#ctl00_ctl09_SubmitButton"
Expand Down
2 changes: 2 additions & 0 deletions members/C000266.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ contact_form:
value: Respond
- javascript:
- value: document.querySelector("#ctl00_ctl16_Body").value = document.querySelector("#ctl00_ctl16_Body").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#ctl00_ctl16_SubmitButton"
Expand Down
2 changes: 2 additions & 0 deletions members/C000754.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ contact_form:
Other Issues: OTHER
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Send Email
selector: "#contactForm input[name='submit']"
Expand Down
2 changes: 2 additions & 0 deletions members/C001045.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ contact_form:
required: true
- javascript:
- value: document.querySelector("#field_AD3C2CD1-4332-48E1-A080-BB1B4B5F082C").value = document.querySelector("#field_AD3C2CD1-4332-48E1-A080-BB1B4B5F082C").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: div.buttonHolder input
Expand Down
6 changes: 2 additions & 4 deletions members/C001049.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ contact_form:
value: $ADDRESS_ZIP4
required: true
- click_on:
-
selector: "#submit"
- selector: "#submit"
- fill_in:
- name: required-first
selector: "#required-first"
Expand Down Expand Up @@ -118,8 +117,7 @@ contact_form:
- recaptcha:
- value: true
- click_on:
-
selector: "#submit"
- selector: "#submit"
success:
headers:
status: 200
Expand Down
2 changes: 2 additions & 0 deletions members/C001053.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ contact_form:
Tribal Relations: "108446"
- javascript:
- value: document.querySelector("#ctl00_ctl16_Body").value = document.querySelector("#ctl00_ctl16_Body").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#ctl00_ctl16_SubmitButton"
Expand Down
2 changes: 2 additions & 0 deletions members/C001063.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ contact_form:
Water Resources Development Act of 2010: "8397"
Welfare: "107345"
"Women's Issues": "5236"
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#ctl00_ctl15_SubmitButton"
Expand Down
8 changes: 4 additions & 4 deletions members/C001068.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ contact_form:
value: $ADDRESS_ZIP4
required: true
- click_on:
-
selector: "#submit"
- selector: "#submit"
- 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:
Expand Down Expand Up @@ -119,9 +118,10 @@ contact_form:
"No, I wanted to voice my opinion": "N"
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
-
selector: "#submit"
- selector: "#submit"
- wait:
- value: 3
- find:
Expand Down
2 changes: 2 additions & 0 deletions members/C001072.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ contact_form:
"No, I wanted to voice my opinion": "N"
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Send Email to Representative Carson
selector: "#submit"
Expand Down
2 changes: 2 additions & 0 deletions members/C001076.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ contact_form:
value: Respond
- javascript:
- value: document.querySelector("#ctl00_ctl16_Body").value = document.querySelector("#ctl00_ctl16_Body").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#ctl00_ctl16_SubmitButton"
Expand Down
2 changes: 2 additions & 0 deletions members/C001077.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ contact_form:
Other Issues: OTHER
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Send Email
selector: "#contactForm input[name='submit']"
Expand Down
2 changes: 2 additions & 0 deletions members/C001090.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ contact_form:
value: Respond
- javascript:
- value: document.querySelector("#ctl00_ctl08_Body").value = document.querySelector("#ctl00_ctl08_Body").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#ctl00_ctl08_SubmitButton"
Expand Down
8 changes: 4 additions & 4 deletions members/C001091.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ contact_form:
value: $ADDRESS_ZIP4
required: true
- click_on:
-
selector: "#submit"
- selector: "#submit"
- fill_in:
- name: required-first
selector: "#required-first"
Expand Down Expand Up @@ -115,9 +114,10 @@ contact_form:
"No, I wanted to voice my opinion": "N"
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
-
selector: "#submit"
- selector: "#submit"
success:
headers:
status: 200
Expand Down
6 changes: 2 additions & 4 deletions members/C001092.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ contact_form:
- javascript:
- value: "Array.prototype.forEach.call(document.querySelectorAll('style,[rel=\"stylesheet\"],[type=\"text/css\"]'), function(element){ try{ element.parentNode.removeChild(element) } catch(err){} });"
- click_on:
-
selector: "#submit"
- selector: "#submit"
- fill_in:
- name: required-first
selector: "#required-first"
Expand Down Expand Up @@ -122,8 +121,7 @@ contact_form:
- recaptcha:
- value: true
- click_on:
-
selector: "#submit"
- selector: "#submit"
success:
headers:
status: 200
Expand Down
12 changes: 0 additions & 12 deletions members/C001093.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,6 @@ contact_form:
action: /email-me/
steps:
- visit: "https://dougcollins.house.gov/email-me"
- fill_in:
- name: zipcode
selector: "#zipcode"
value: $ADDRESS_ZIP5
required: true
- name: zipfour
selector: "#zipfour"
value: $ADDRESS_ZIP4
required: true
- click_on:
- value: Go to Form
selector: input.button
- fill_in:
- name: firstname
selector: "#req_firstname"
Expand Down
2 changes: 2 additions & 0 deletions members/C001096.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ contact_form:
"No, I wanted to voice my opinion": "N"
- javascript:
- value: document.querySelector("#required-message").value = document.querySelector("#required-message").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Send Email
selector: "#contactForm input[name='submit']"
Expand Down
2 changes: 2 additions & 0 deletions members/C001107.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ contact_form:
selector: "#ctl00_ctl14_SubscribeChoice"
- javascript:
- value: document.querySelector("#ctl00_ctl14_Body").value = document.querySelector("#ctl00_ctl14_Body").value.replace(/"/g, '');
- recaptcha:
- value: true
- click_on:
- value: Submit
selector: "#ctl00_ctl14_SubmitButton"
Expand Down
Loading

0 comments on commit 6520ca0

Please sign in to comment.