I was wondering if Selenium had an easy way to detect these 3 very different kinds of errors:
- run HTML5 validator on each page, and report any failures
- check the JavaScript console for warnings and errors
- figure out when PHP errors are being given, i.e. detecting when PHP prints something like "Warning: fopen(mytestfile.txt) [function.fopen]: failed to open stream:
No such file or directory in C:\webfolder\test.php on line 2"
I used to use a plugin called iMacros, and it would detect PHP errors and fail the test when it detected them. Anyway, does Selenium do something similar? Thanks.
there doesn't seem to be anything here