UI driven dynamic analysis and testing of web applications