The web application that i need to test contains following JS snippet
$.ajax({
url : "getData",
method : 'post',
data: "abc",
success : function(response) {
$(response).each(function(index, value) {
// do something
});
}
});
I need to verify the data in this response using Selenium. I not able to find a way to get this response using Selenium. Please give me suggestions if anyone has encountered similar issues.
PS: I cant make chages to web-app. I'm just a tester.