Ask a Question

Set Auto-Wait Timeout for Browser Close function

Frequent Contributor

Set Auto-Wait Timeout for Browser Close function

Hello Community,


is there a way to increase the auto-wait timeout for the browser close function?


I know I can set it manually by double clicking the parameter field of the browser close teststep, but it is automatically set to 3 seconds which is not enough in a few cases and I want to increase this to 10 seconds.


It is a different auto wait time, than the one you can set in the project properties (auto-wait timeout, ms which is standard at 40 seconds).

Champion Level 3



I would wait in a loop until the browser process ends or timeout (passed as a parameter) occurs.

If the browser process did not end within timeout, .the call to .Terminate() may be done. contains some possible code sample.


  /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.
Frequent Contributor

I am using the Terminate Script on Errors to prevent next tests from not starting, but I use the close browser teststep in around 300 testcases, so I am not within a script and the auto wait time for this operation is 3 seconds, which I want to increase to 10 and in case it doesnt close within this time I am ok with the test failing and Terminating the processes in the OnLogError Event

Showing results for 
Search instead for 
Did you mean: