diff --git a/test/stressGUI.cxx b/test/stressGUI.cxx
index 033075be22ba116e8325680d66eba4a50682aca7..73864d543fe5310673f74bf481c3a7c4b75bc2d0 100644
--- a/test/stressGUI.cxx
+++ b/test/stressGUI.cxx
@@ -427,7 +427,8 @@ void ProcessFrame(TGFrame *f, const char *title)
    img->WriteImage(outfile);
 
    if (!gOptionRef) {
-      if (!strstr(title, "Pack Frames")) {
+      if (!strstr(title, "Pack Frames") &&
+          !strstr(title, "HTML Browser")) {
          gSystem->RedirectOutput(gTmpfilename.Data(), "w", &gRH);
          ((TGMainFrame *)f)->SaveSource(Form("sgui_%02d.C", gTestNum));
          gSystem->Unlink(Form("sgui_%02d.C", gTestNum));