PreFlight Unique CSS and XPath Generator

by Preflight for

Download Now

Downloaded: 3

Generating Unique Styles for Multiple Elements on the Same Page

Generating unique styles is a tricky thing to do. You will have to write a lot of CSS, and it’s not going to be very simple to do that manually. You also need to do that for all the browsers and all the devices, not to mention different themes and skins. So, how do you generate the same styles for multiple elements on the same page?

PreFlight solves this problem by letting you create XPath selectors. It allows you to pick any element in your application and it will generate a unique XPath for you. This way, you don’t need to write any CSS.

You can generate XPaths in different ways:

By dragging and dropping the icon in the page

By selecting the elements in the HTML

By opening the inspection tool

There is one difference between the two types of XPath selectors. Iframe style allows you to select the elements that have the same class name or id. However, since the ids in the page are not generated automatically, you will have to generate the IDs manually.