D000563 - thank you text, C001113 - remove stylesheet

This commit is contained in:
amy-chinlai
2025-09-16 10:31:06 -04:00
parent 44c35b25eb
commit 15747d5390
2 changed files with 3 additions and 1 deletions

View File

@@ -6,6 +6,8 @@ contact_form:
- visit: "https://www.cortezmasto.senate.gov/contact/connect"
- 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){} });
- javascript:
- value: "document.querySelector('#elementor-tab-content-1151').removeAttribute('hidden');"
- javascript:

View File

@@ -297,7 +297,7 @@ contact_form:
- value: Send
selector: "input[type=submit]"
- find:
- value: Thank you
- value: Thank You
selector: "h2"
success:
headers: