Launch new Chrome Action(Power Automate Desktop)

06/17/2023

Japanese version.

This is the first action to be set up for web browser automation.

This action launches Chrome for automation.

Unless there is a reason to leave the browser launched by this action on the screen, it is recommended to close it with the "Close web browser" action after the required process is complete.

Also, an extension must be installed beforehand to use this action.

However, the most suitable browser for automation is the Automation Browser in "Launch new Internet Explorer".
If you do not need Chrome, we recommend using it.

How to use

Drag "Launch new Chrome" under "Browser automation".

Set parameters.

ParameterSet value. Reds are changed as appropriate.
Launch modeLaunch new Instance
Initial URLAny URL
Window stateNormal
Clear cacheOFF
Clear cookiesOFF
Wait for page to loadON
If a pop-up dialog appearsAny

Parameter

Launch mode

Specify which browser to launch and how to open it.

ItemDescription
Launch new InstanceOpen a new Chrome
Attach to running InstanceDeprecated. This setting makes already opened Chrome the target of the automation.
In this configuration, the subsequent parameters are unique and can be one of the following three patterns.
- Specify a URL that should already be open.
- Specify a title that should already be open.
- Use Chrome in the foreground.
In many cases, when you actually run the program, it does not connect properly, This type of operation is more stable when started from scratch, This type of operation is deprecated unless it is absolutely necessary.

Initial URL

Required field. Specify the URL of the website to be opened when the browser is launched.

Window state

Specifies the size of the browser.
There are two sizes: standard, which leaves the size to the browser, and maximized/minimized.

Standard is recommended if there is no particular reason.

Clear cache

Specifies whether the browser cache is cleared on startup.

From the standpoint of automation, it is safer to clear (ON), but if you normally use Chrome on that computer, you should consider whether to clear the cache.
In fact, you should reconsider using the browser you normally use for automation itself.

Clear cookies

Specify whether to delete browser cookies on startup.

It is preferable to clear (ON) in terms of automation, but if you normally use Chrome on that computer, it would be highly inconvenient to delete cookies.
Rather, you should reconsider using the browser you normally use for automation itself.

Wait for page to load

ON is recommended because turning OFF will cause the page to move to the subsequent action before it finishes loading.

If the initial URL is a slow-loading page and many other actions are inserted before the next web browser action, there is room for consideration, but depending on the situation, the flow may not work properly, so basically ON is safe.

Timeout on webpage load

This is displayed when "Wait for page to load" is ON.

Sets the maximum number of seconds to wait. An error will occur if this number of seconds is exceeded.

If a pop-up dialog appears

Specifies how the dialog is handled when it is displayed at the initial URL.

  • Close it
  • Press the button
  • Do nothing

For "Press the button", additionally specify the name of the button.

Variables produced

Browser

This variable indicates the browser that was invoked.

It is used as a parameter to specify the browser for subsequent actions.

For those who want to learn Power Automate Desktop effectively


The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Power Automate Desktop to streamline your workflow.

Links

Browser automation Actions