Ask a Question

Suppress 'The Browser is already running' warning

New Contributor

Suppress 'The Browser is already running' warning

I have a script that will always reuse the already open instance of Chrome, so whenever my script kicks off and navigates to the first page specified in my script, I get a 'Warning, the browser is already running' message. I can create a routine that checks for open browsers and closes them first, but I specifically DO want to use the already running instance of Chrome.


Is there anyway to supress this warning, or alternatively turn off logging until after that step has occured? I'm using VBA as my scripting language.

Champion Level 3



It is possible to disable logging as well as to suppress posting some message to the test log.

But why not to check if the browser is running and use it if it is?


  /Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.



Solved this by adding in a browser is running check and if so using .Navigate instead of .Run. 

Showing results for 
Search instead for 
Did you mean: