PRACTICE
Dynamic ID
This page demonstrates a dynamic id that changes on every page refresh.
Write automation that does not rely on the button’s id.
Dynamic ID Demo
Scenario:
Record button click, then replay and ensure your test does not rely on the button id.
Tip: check the button id in DevTools → Elements (not View Page Source).