Is there a way to capture errors occurring in the DOM in Selenium and probably flag the same as an error in the page?
DOM
Selenium
To give a brief exam
You try including windows.onerror event in your page or enable the show error dialog box in IE options. If you choose the later in Se1 will hang. PS: This has been discussed here. Do a search.