Update P000603.yaml (removed stylesheet) and H001042.yaml (success text)

This commit is contained in:
amy-chinlai
2023-06-16 09:47:45 -04:00
parent 0e0b75ae19
commit bb66202b32
2 changed files with 3 additions and 1 deletions

View File

@@ -118,4 +118,4 @@ contact_form:
headers:
status: 200
body:
contains: Thank you for submitting your Request to our office.
contains: We will contact you if

View File

@@ -4,6 +4,8 @@ contact_form:
action: "/connect/email-rand"
steps:
- visit: "https://www.paul.senate.gov/connect/email-rand"
- 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']"