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.


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

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
Subscribe to the UI Vision RPA software newsletter . We'll send you updates on new releases that we're working on.