Automatically generates label→input sibling patterns — the most robust locators for form elements. //label[normalize-space()='Username']/following-sibling::input ...