Power Automate Desktop - How To Open/Close Browser and Application

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone my name is marcelo and these two three we will learn how to open and close browsers and applications in power to my desktop so let's start by learning how to open and close browsers so after creating a flow on powered by desktop we'll appear this window where we can develop our automation and so here on actions let's start by searching action that will enable us to launch the browser so let's search here for launch new and here we can see actions that launches a browser so we can see one for internet explorer another for firefox chrome and microsoft edge so let's pick one of these actions i will use the chrome one and so first we need to indicate what's the launch mode that we want if we want to launch a new instance or attach to a running instance so in our case to open the browser the chrome browser we want to launch a new instance then on initial real we can provide a url of a website that we want to visit after launch the browser so for example i'll paste here the one to access to the microsoft page so you can put another if you want and then here window state we can force the wind to be maximized when it's launched the browser so i will select this one and then here we have some advanced options that we don't need to change and so now let's click here on save and let's run our flow by clicking here under and as we can see was launched the chrome browser in the page that i have indicated on the microsoft page so then how we can close the browser it's very simple so here on actions let's search for close and here we can see many actions that has closed in their name so the one that we'll use is the close web browser so let's run it after the launch new chrome and so we just have to provide the web browser instance that we won't close so when we use the launch new chrome we can see that was created variable that represents the chrome instance and so here we just authenticate this instance to then part my desktop no wants the browser to close so in our case we just have one so it's simple so now let's run again our flow and as we can see first was launched the chrome browser and then was closed so now let's see how we can open and close applications so we can here comment these two actions by doing right click and then click on disable action and now let's search here on actions for run application so this action allows us to start application for example the notepad the calculator and another desktop applications so first let's drag it to wowwer flow so first we have to decay the application paths so the executable file that launches the application so for example let's launch the word path so let's get first the path to the executable of wordpad so here let's click on open file location and here we can see a shortcut that launches the word path so we can indicate the path to this shortcut so let's select here the shortcut and then click here and select copy past so now let's paste here then we have here some other properties that we can change window style let's select maximizer and so now let's save what we have fit here and let's run the flow to see if we'll be started the word path so let's run and as you can see we started the wordpad application so now let's see how we can close the word path so here on actions let's search again for close and now in this case we'll use the close window action so here let's track this action after the run application so here on the find window mode we have some methods that we can use to indicate the application close so can be by window you high helmet by window instance handle or by title or class so let's use the one already selected and so now we have to decay the y helmet of the window of wordpad so here let's add a new y helmet and now let's select here the word path and so to indicate the word path window let's for example select this arya and now let's do as it says here to indicate the while helmet we need to press ctrl and left mouse click so let's do it and so we have dedicated the word pen window so let's save and now let's close the word path and let's run again our flow and as we can see first we started the wordpad application and then was closed by the close window action so if you liked this video please give a thumbs up and also consider to subscribe the channel and enable the notifications bell so you'll get notified for each video that i launched on the channel see you soon on the next tutorial
Info
Channel: Marcelo Cruz
Views: 5,277
Rating: undefined out of 5
Keywords: rpa, robotic process automation, power automate, power automate desktop, power automate tutorial, power automate desktop tutorial, power automate how to, power automate desktop how to, power automate desktop examples, rpa power automate desktop, power automate desktop open application, power automate desktop open browser, marcelo cruz, marcelo cruz rpa, rpa tutorial, tutorial rpa, rpa for beginners
Id: qlhdnl0OGIg
Channel Id: undefined
Length: 6min 48sec (408 seconds)
Published: Thu Apr 07 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.