Multiple Selectors
Luiza Gircoveanu avatar
Written by Luiza Gircoveanu
Updated over a week ago

Multiple Selectors allow users to create back-ups for selectors designed to target elements on the page. They are especially useful for sites with rotating carousels, or elements that are dynamic. Multiple Selectors enhances stability of the page through incorporating as many as fifteen selector options for a single element. The engines look for a selector that will work to further the step so not all selectors will be used on the action. It will cycle through the multiple selectors added until it finds one that works.

The options available for selectors are ID, Name, CSS Selector, XPath, and HTML Attributes. A selector is used to locate elements on a page. ObservePoint uses them in Actions to click into, input text, and perform a host of other interactions. When applying multiple selectors, you don't have to worry about actions failing on pages that are typically more dynamic.

This feature is available in Audits, Journey, App Journeys, and can be uploaded from Journey Manager (Beta).

Adding Selectors

To add multiple selectors, select the + sign below the identifier text box.

If the first selector on the list fails it will move to the next selector on the list.

Use Cases

Stability

For elements on a webpage that are constantly changing, enter all possible identifiers for it to increase stability when performing audits or journeys.

A/B Testing

Another possible use case is A/B testing. If your site has a couple of different landing pages or different elements on a page, using multiple selectors can help simulate a random experience on a webpage and moving through the site. With the multiple selectors in place you can ensure that the correct element is selected, regardless of the landing page or element it starts on.

Pop-Ups

If your site contains pop-up advertisements and you know exactly where it may appear, multiple selectors can also be helpful. Utilize all possible selector elements for a pop-up, so while your audit or journey is going through a site it can correctly interact with the pop-up.

Did this answer your question?