Testing the Internet
Challenging DOM
What you'll learn
In this video, you’ll learn how to automate tests on complex and dynamic web pages with ever-changing DOM structures. From shifting input fields to fast-disappearing popups and tricky table data, you’ll see how Leapwork helps you locate elements reliably, even when IDs or classes aren’t stable.
Key lessons
- Understand why complex DOM structures make test automation challenging.
- Capture web elements using the Find Web Element block.
- Explore multiple element-location strategies in the Strategy Editor.
- Learn to locate elements by text, table position, structure, or exact DOM path.
- Choose the most reliable strategy for dynamic or deeply nested layouts.
Additional resources
Continue your learning journey and explore all available product training sessions.