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 / Launching a browser to...
Power Automate
Unanswered

Launching a browser to open a LOCAL file url..encode, decode?)

(0) ShareShare
ReportReport
Posted on by 23

Hey, i'm trying to build an app that extracts data from various websites . In order to be "gentle" on their bandwith, etc, i'm downloading the files localy before extracting the data. 
So i have a directory with lots of html files and i want to open each file and extract the data i need. 
The issue is that i can't really invoke the browser with a local url, because it seems it adds some kind of url encoding, adding unnecessary chars to the file path . 

Any ideeas ? ty 
Any ideeas ? Ty. Clipboard02.jpg


Clipboard01.jpg

I have the same question (0)
  • momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    Hi @ditoiuc 

    You need to open any other URL, then open the local file. Remember to escape any "%" in the file name by replacing them with %%

    Also, you need to allow PAD extension to interact with local files - you do it by right clicking it --> Manage Extension --> switch the corresponding toggle.

     

    Example:

     

     

    WebAutomation.LaunchChrome.AttachToChromeByUrl TabUrl: $'''file:///C:/Users/XXXXX/Desktop/test/google%%20-%%20Szukaj%%20w%%20Google.html''' AttachTimeout: 5 BrowserInstance=> Browser
    WebAutomation.Click.Click BrowserInstance: Browser Control: appmask['Web Page \'f ... oogle.html\'']['Heading 3 \'LC20lb MBeuO DKV0Md\''] ClickType: WebAutomation.ClickType.LeftClick MouseClick: True WaitForPageToLoadTimeout: 60 MousePositionRelativeToElement: WebAutomation.RectangleEdgePoint.MiddleCenter OffsetX: 0 OffsetY: 0

     

     

  • ditoiuc Profile Picture
    23 on at

    Ok, i will try it. As a worakraound i discuvered that starting a Firefox instance...accepts the initial url. Unlinke Chrome or Edge

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard