1. A method of testing a web application, comprising: receiving, by a computer, a data file including recorded data of one or more gesture events performed by a user and recorded and replayed using one or more web elements on a test web page; loading, by the computer, a test case with the recorded data; replaying, by the computer, the one or more recorded gesture events in the test case and executing the web application to generate test results; and automatically verifying the test results by serializing states of the test case into strings and comparing the strings, wherein serializing the states of the test case comprises concatenating Hypertext Markup Language (HTML) Canvas application programming interface (API) commands into the strings.