11 Oct 2024 02:07 PM - last edited on 16 Oct 2024 07:01 AM by MaciejNeumann
Hi, I'm trying to check the status of two components on the Hashicorp status page, HCP Terraform and Terraform Registry.
I've created a synthetic script and want to check if the status of either is "outage" but not "minor outage".
To get round this I'm searching on DOM for the element...
<div data-component-id="7cgbxrw10wgr" class="component-inner-container status-green " data-component-status="operational" data-js-hook="">
I'm using the operational status as a test, but it's not being detected no matter what I try.
I think it may be related to the double quotes but examples in docs seem to suggest they are acceptable without any escaping.
Anyone have any ideas?
Thanks
14 Oct 2024 06:00 AM
Hi Pete,
What did you select in"Amount of time to wait before the next event is triggered" field?
Maybe trying with the two last to options could be work. Have you tested it?
Hope it helps.
Regards,
Elena.
14 Oct 2024 01:34 PM
Hi Elena, thank you for responding. I tried your suggestion but that didn't work either, I think the way the page is set up DT isn't seeing DOM properly.
Regards
Pete