BringBrowserToForeground and BringIDEAndBrowserToBackground

BringBrowserToForeground brings the browser window to front. It is useful if you want to make sure that the web browser is in the foreground. Normally when you start a macro the Ui.Vision RPA UI is in the foreground. Our users tell us that having the browser in the foreground is especially useful when launching Ui.Vision RPA macros from bookmarks - because typically in this case you want to see than what Ui.Vision RPA does inside the browser - and often manually continue where Ui.Vision RPA stopped.

For example, assume a Ui.Vision RPA macro runs a login sequence and navigates to a certain sub page. With BringBrowserToForeground in the macro you can be sure that your browser is in front and you can start your work on this page right aways.

BringBrowserToForeground is also useful to make sure the tab in which the macro runs is in the foreground, so that elements can receive the focus.

BringIDEandBrowserToBackground

The BringIDEandBrowserToBackground command is the opposite of BringBrowserToForeground. It hides the browser and the IDE. This command is especially useful during desktop automation, when you want to make sure that the Ui.Vision RPA IDE and the browser do not cover or overlapp with the application(s) that you automate.

Known issue on Linux with Firefox

(Only) on Linux the command "BringBrowserToForeground" does not work in Firefox, but it works fine with Chrome.
Workaround for Firefox on Linux: Use "BringIDEandBrowserToBackground" to minimize IDE + browser - and then use "BringBrowserToForeground" to show the browser again.

BringBrowserToForeground Example

Command Target Pattern/Text
BringBrowserToForeground - -
open https://ui.vision/

Works in

Ui.Vision RPA for Chrome Selenium IDE, Ui.Vision RPA for Firefox Selenium IDE, Firefox IDE Classic

Related Demo Macros

Demo-Autofill, Demo-Frame

The ready-to-import-and-run source code of all demo macros can be found in the Open-Source RPA software Github repository.

See also

storeEval, Web Automation Extension User Manual Selenium IDE commands, Classic Firefox Selenium IDE.

Anything wrong or missing on this page? Suggestions?

...then please contact us.

<em>Ui.Vision RPA</em> Selenium IDE for Chrome and Firefox - Web Test Automation

Fresh from the Ui.Vision Forum: The Latest 3 Topics. Join the discussions:

← Meet the Ui.Vision team and users in our forums.