cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

JS_EXECUTION_ERROR how to ignore / bypass javascript error

sunny2205
Visitor

Im trying to a write a Javascript for a synthetic monitor step, Could someone help me how to ignore this exception 

Errors
of Exception was thrown by the JavaScript code: Cannot read properties of undefined (reading 'innerText')
1 REPLY 1

HannahM
Dynatrace Leader
Dynatrace Leader

You can't ignore JavaScript exceptions, you need to fix the code in the JavaScript event. This error message looks like you are trying to get the innerText from an element that does not exist. I would check on the element you are using. 

Synthetic SME and community advocate.

Featured Posts