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 / Is there a way to pass...
Power Automate
Unanswered

Is there a way to pass the URL for an element in a webpage Dynamically?

(0) ShareShare
ReportReport
Posted on by 2

Iam trying to automate a web application which will have multiple urls for the same site.

Frequently I need to change URL's whichever works fast. So I add the URL to config file and run with that instance.

But I cannot find the option to pass web page url dynamically.

 

The Bot throws error when I launch different URL and try to enter username and password in Login page.

Eg: I have a website URL https://www.eelsms.saasdemo.com/ in which I have the username and password textbox.

Similarly I have another URL  https://www.eelsms.saasdemo1.com/  in which I have the same elements username and password textbox as previous one.

Now how to make code dynamic so that it works for both the URL's

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    You can pass a variable in the Launch action of the browser or do the same in Go to webpage.

    This variable will contain the URL that you wish to pass.

     

    If the element details are same in both the URLs then there is no issue.

  • magesh451 Profile Picture
    2 on at

    Hi,

     

    This is the code that I have developed

     

    tempsnip.png

    This is the login page

    tempsnip2.png

     

    This is not working properly some times it works and it fails most time.

    Even its not entering the username and password properly for three consecutive times. Its not stable.

     

    The second issue is the change in URLS which I mentioned above

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 474

#2
11manish Profile Picture

11manish 268

#3
David_MA Profile Picture

David_MA 243 Super User 2026 Season 1

Last 30 days Overall leaderboard