CourseNetworking interview question

How to test a web app using Javascript?