cancel
Showing results for 
Search instead for 
Did you mean: 

Suppress 'The Browser is already running' warning

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

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: Suppress 'The Browser is already running' warning

Hi,

 

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?

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
2 REPLIES 2
Community Hero

Re: Suppress 'The Browser is already running' warning

Hi,

 

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?

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
New Contributor

Re: Suppress 'The Browser is already running' warning

Thanks.

 

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

New Here?
Join us and watch the welcome video:
Join the September Hub-bub to show off, learn and win