web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Dynamic UI selectors b...
Power Automate
Unanswered

Dynamic UI selectors but web link keeps changing

(0) ShareShare
ReportReport
Posted on by 79

Hi,

I work at a company that uses a webpage called Solargis. I deal with customer sites where I have to get its coordinates to find yield. The configurations and the process to find yield is the same, for eg. set tilt of panels to 10 degree etc. But the only thing different is that for every time I work with a new site, inputting the coordinates will also reflect onto the web link for example 1.87689056, 3.976756(eg. of site coordinate) is into the main web link of solargis. So www.solargis.com/1.87689056 , 3.976756.Thus not consistent for every new site I created. Ive watched on youtube on the rpa challenge of dynamic ui selectors but it works for them because the webpage link remains unchanged except the UI element selectors. Is there any way I can find a solution?

Thanks!

I have the same question (0)
  • AS-06081019-0 Profile Picture
    1,738 Super User 2024 Season 1 on at

    @JackyGrealish Could you please share your PAD script?

  • JackyGrealish Profile Picture
    79 on at

    Hi @Ankesh_49 ,

    This is my script together with the UI elements. As you can see from the UI element, the webpage changes and hence it does not work when starting a new project. Sorry for blanking out some as it is customer sites and very confidential very sorry

    JackyGrealish_0-1658186601886.pngJackyGrealish_1-1658186739022.png

     

  • VJR Profile Picture
    7,635 on at

    Hi @JackyGrealish 

    Check the place in the selectors where you are using the URL.

    If the URL is changing even that can be made dynamic using contains or start with operators 

     

    In the value column use www.solargis.com/ 

     

    Example:

    VJR_0-1658197428532.png

     

    On the other hand also see that you can attach to any browser instance using only part of the URL

    VJR_1-1658197645341.png

     

  • JackyGrealish Profile Picture
    79 on at

    Why does mine not have the 'Href' 

  • Rahul7 Profile Picture
    63 on at

    .

  • Rahul7 Profile Picture
    63 on at

    Are you saying Your UI elements get failed when you enter the site with new Coordinates?

    You can use the custom CSS selectors to avoid such scenarios.

  • JackyGrealish Profile Picture
    79 on at

    Hi @Rahul7 ,

    JackyGrealish_0-1658239363790.png

    I did used the css selector as shown. I deselected all the elements that lead to the save project button. I have inspected the button and it is only similar "button[Class="mat-focus-indicator mat-flat-button mat-button-base mat-accent ng-star-inserted cdk-focused cdk-mouse-focused"][Type="submit"]" I ticked only class and input "mat-focus-indicator mat-flat-button mat-button-base mat-accent ng-star-inserted cdk-focused cdk-mouse-focused" . Tried the contains and equal to but does not seem to work.

  • Rahul7 Profile Picture
    63 on at

    Bro go to that web page and open the inspect tab and click CTRL+F and paste the above selector into it, There may be a chance for multiple occurrences of the same selector on that web page, in such a case either find a  unique CSS selector or use the Contains jQuery selector

  • VJR Profile Picture
    7,635 on at

    Compare the selectors for the button before and after the URL changes, see what changes in the comparison and accordingly proceed further.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard