# Playback failed because the html element could not be found to perform action

**URL:** <https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691>\
**Category:** Synthetic Monitoring\
**Tags:** synthetic-monitoring\
**Created:** [October 22, 2017, 7:18pm UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691 "2017-10-22T19:18:31Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![manuel\_novas](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@manuel\_novas](https://community.dynatrace.com/u/manuel_novas)\
**Post date:** [October 22, 2017, 7:18pm UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/1 "2017-10-22T19:18:31Z")

</div>

Just Helpme!

---

<div class="post-metadata">

**Author:** ![Philipp\_Kastner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/philipp_kastner/32/28797_2.png) [@Philipp\_Kastner](https://community.dynatrace.com/u/Philipp_Kastner)\
**Post date:** [October 23, 2017, 6:32am UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/2 "2017-10-23T06:32:07Z")

</div>

Hi Manuel,

this message indicates that one of the elements defined in your clickpath can not be found. You can have a look at the locators used to find the element in the clickpath settings.

If the problem persist, please go ahead an open a [support ticket](https://support.dynatrace.com/supportportal/secure/CreateIssue.jspa?pid=11400&_ga=2.169500769.1523830751.1508138109-642064966.1507709039) with additional details.

Kind regards, Philipp

---

<div class="post-metadata">

**Author:** ![james\_leatherma](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/james_leatherma/32/15637_2.png) [@james\_leatherma](https://community.dynatrace.com/u/james_leatherma)\
**Post date:** [November 22, 2017, 3:49am UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/3 "2017-11-22T03:49:54Z")

</div>

I think there is something wrong with the locator during playback. If I record a script with four steps, the second steps fails with that error. However, if I delete the fourth step, everything is located correctly.

**With four steps:**

 ![14830-before.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/4/e461a63356056cc7086c6b6e61df7cd02dc13669.png)

**After I delete the fourth step:**

 ![14831-after.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/8/e818ddaeaeec77fa956ed7c21b3a9173aec5a127.png)

---

<div class="post-metadata">

**Author:** ![Philipp\_Kastner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/philipp_kastner/32/28797_2.png) [@Philipp\_Kastner](https://community.dynatrace.com/u/Philipp_Kastner)\
**Post date:** [November 22, 2017, 8:00am UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/4 "2017-11-22T08:00:34Z")

</div>

Hi James,

indeed this looks strange. Could you please go ahead and open a including steps to reproduce this.

Thank you, Philipp

---

<div class="post-metadata">

**Author:** ![SB\_12](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@SB\_12](https://community.dynatrace.com/u/SB_12)\
**Post date:** [November 14, 2019, 5:52am UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/5 "2019-11-14T05:52:38Z")

</div>

hi

We are facing similar issue . has your issue been resolved?

Thanks

Swati

---

<div class="post-metadata">

**Author:** ![Sujit](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sujit/32/15043_2.png) [@Sujit](https://community.dynatrace.com/u/Sujit)\
**Post date:** [March 15, 2022, 1:43am UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/6 "2022-03-15T01:43:19Z")

</div>

Hi,

I am facing same issue, did we find any solution yet.

Thanks,

Sujit

---

<div class="post-metadata">

**Author:** ![Lener](https://avatars.discourse-cdn.com/v4/letter/l/45deac/32.png) [@Lener](https://community.dynatrace.com/u/Lener)\
**Post date:** [June 15, 2023, 8:15pm UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/7 "2023-06-15T20:15:19Z")

</div>

Good afternoon, I also have the same error, which indicates the client that they updated their captcha from version 2 to 3 and from there it began to fail

 ![Lener_0-1686860110624.png](https://global.discourse-cdn.com/dynatrace/original/3X/3/3/339658528779fbf306a6e7cf515a8dd0a93e1eb6.png)

---

<div class="post-metadata">

**Author:** ![Lener](https://avatars.discourse-cdn.com/v4/letter/l/45deac/32.png) [@Lener](https://community.dynatrace.com/u/Lener)\
**Post date:** [June 15, 2023, 8:16pm UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/8 "2023-06-15T20:16:51Z")

</div>

Could you find a solution to this problem?

---

<div class="post-metadata">

**Author:** ![Maelam](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@Maelam](https://community.dynatrace.com/u/Maelam)\
**Post date:** [November 6, 2023, 10:28am UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/9 "2023-11-06T10:28:22Z")

</div>

I am facing the same issue!

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [November 6, 2023, 10:32am UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/10 "2023-11-06T10:32:26Z")

</div>

Hi [@Maelam](https://community.dynatrace.com/user/66491)&nbsp;I recommend setting up a ticket in support.  
If you get a response and know how to fix it then please let us know.

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [November 6, 2023, 10:59am UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/11 "2023-11-06T10:59:16Z")

</div>

As Philipp mentions [here](https://community.dynatrace.com/post/39691)&nbsp;this message is seen&nbsp;when&nbsp;elements defined in your clickpath can not be found.

Things to check:  
are the screenshots showing what you expected? If not, has the scenario changed? Does the same happen if you playback locally or manually walk through the steps in the browser. Maybe try re-recording the script if it has changed.&nbsp;  
Has the page just not fully loaded? Try changing the [wait strategy](https://docs.dynatrace.com/docs/shortlink/id-brower-clickpath-events#wait) for the event

---

<div class="post-metadata">

**Author:** ![johana\_uray](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@johana\_uray](https://community.dynatrace.com/u/johana_uray)\
**Post date:** [January 11, 2024, 4:19pm UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/12 "2024-01-11T16:19:59Z")

</div>

Hi everyone,

I had the same problem with a monitor. In my case, in dynatrace the page is displayed but the selector is not found.

Error code:&nbsp;1502 - The html element could not be found to perform actionFailure reason:&nbsp;Failed to locate object: CSS selector #pf-undefinido-cd-262 div div.css-gwngf9 div.css-1tbvomjsomeone was able to solve it?Thanks.

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [January 11, 2024, 4:35pm UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/13 "2024-01-11T16:35:55Z")

</div>

What have you checked?  
are the screenshots showing what you expected? If not, has the scenario changed? Does the same happen if you playback locally or manually walk through the steps in the browser. Maybe try re-recording the script if it has changed.&nbsp;  
Has the page just not fully loaded? Try changing the&nbsp;[wait strategy](https://docs.dynatrace.com/docs/shortlink/id-brower-clickpath-events#wait)&nbsp;for the event

---

<div class="post-metadata">

**Author:** ![johana\_uray](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@johana\_uray](https://community.dynatrace.com/u/johana_uray)\
**Post date:** [January 12, 2024, 5:05pm UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/14 "2024-01-12T17:05:44Z")

</div>

Hi HannahM,

I tell you, I have validated that the page elements load correctly.

The screenshots show the elements I need to validate. The scenario is the same. I have re-recorded it but the error persists. I need to select a value inside a combobox. When I do it I reproduce it locally the script works correctly.

thank you so much.

 ![johana_uray_0-1705079111236.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/1/11d0db21eb649efd421ad67f4a73c4c5e90d2b1a.png)

---

<div class="post-metadata">

**Author:** ![Theodore\_x86](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/theodore_x86/32/17620_2.png) [@Theodore\_x86](https://community.dynatrace.com/u/Theodore_x86)\
**Post date:** [May 13, 2025, 2:44pm UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/15 "2025-05-13T14:44:35Z")

</div>

Hello. Has anyone found a solution here?

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [May 13, 2025, 4:27pm UTC](https://community.dynatrace.com/t/playback-failed-because-the-html-element-could-not-be-found-to-perform-action/8691/16 "2025-05-13T16:27:17Z")

</div>

This is a very generic error. This message is seen&nbsp;when&nbsp;elements defined in your clickpath can not be found. This can be for many reasons: the page is not fully loaded, a different page to expected has loaded, the element is no longer on the page, and many more.

Things to check:

1. Are the screenshots showing what you expected?&nbsp;If not
  1. Has the scenario changed? Is the same behavior seen if you playback locally or manually walk through the steps in the browser? If so, re-record or update the script.
  2. Has the page fully loaded? If not, try changing the&nbsp;[wait strategy](https://docs.dynatrace.com/docs/shortlink/id-brower-clickpath-events#wait)&nbsp;for the event before the one that failed. ‘Wait for Next Event’ is a good option to try first.
  3. Are ShadowDOM elements on the page? [How to inspect and add shadow DOM elements into Browser clickpath script events.](https://community.dynatrace.com/topic/209228)
