Introduction
Child commands help you find elements inside other elements on a web page. This makes tests more precise and easier to read.
When you want to check a button inside a specific form.
When you need to find a list item inside a certain list.
When you want to test a link inside a navigation menu.
When you want to limit your search to a part of the page to avoid confusion.
When you want to chain commands to make your test steps clear.