Usage:
TestURLDisplayer displayer = TestURLDisplayer.getInstance(); displayer.invalidateURL(); // e.g. run a .jsp displayer.waitURL(); String page = displayer.readURL(); ...