mirror of
https://github.com/unitedstates/contact-congress.git
synced 2025-12-19 17:37:24 -05:00
adds a support file for navigating recaptcha without javascript
This commit is contained in:
15
support/recaptcha-noscript.yaml
Normal file
15
support/recaptcha-noscript.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
steps:
|
||||
- visit:
|
||||
- src_selector: "iframe[src*='google.com/recaptcha/api']"
|
||||
- fill_in:
|
||||
- name: recaptcha_response_field
|
||||
selector: "#recaptcha_response_field"
|
||||
captcha_selector: img
|
||||
captcha_id_selector: "#recaptcha_challenge_field"
|
||||
value: $CAPTCHA_SOLUTION
|
||||
required: Yes
|
||||
- click_on:
|
||||
- value: "I'm a human"
|
||||
selector: "input[type=submit]"
|
||||
- find:
|
||||
- selector: "textarea"
|
||||
Reference in New Issue
Block a user