PreFlight let's anyone to generate unique CSS and XPath generators easily without opening the inspection tool with iframe support.
Simply drag and drop the bullseye icon into any element. It does not matter it's in iframe or not. PreFlight is going to generate very smart XPath selectors like:
Find any input which previous siblings have text equal to 'First name'
//input[preceding-sibling::*[descendant::text()='First name']]
Find label that has 'Username' then go up and find the input
//label[text()='Username']/..//input
This way even though the class names change or any html structures change your selector is less likely to break.
Please contact us if you have any questions or feedback at help@preflight.com