Why did my CloudWatch canary fail with the error "Node is either not visible or not an HTMLElement"?

1 分的閱讀內容
0

I created an Amazon CloudWatch canary in the GUI Workflow Builder. However, my canary failed and I received a "Node is either not visible or not an HTMLElement" error.

Resolution

When you create a CloudWatch canary, you might receive a Node is either not visible or not an HTMLElement error for the following reasons:

  • You used a script that references a non-existent element that's a wrong selector.
  • You used a script that references an invisible element that's a correct selector but with an invisible element.
    Note: If you use a global selector as a class element in your script, then the selector uses the first element in the resulting array by default. If the first element has a display:none CSS value, then the element is invisible.

To resolve this error, follow the steps in How can I identify a DOM selector or XPath to use in a CloudWatch canary GUI Workflow Builder? Be sure to use a selector that has a result in the element that you want.

Related information

GUI Workflow Builder

AWS 官方
AWS 官方已更新 5 個月前