Patent ID: 9588945
Date: 2017-03-07
CPC Classifications: G06F

Claim:
1. A method, comprising: clustering elements in a webpage having asynchronous functionality, the clustering comprises grouping webpage elements in a hypertext markup language (HTML) document object model (DOM) based on an extensible markup language (XML) document query path extending from a root HTML to a DOM element corresponding to each webpage element; executing asynchronous functionality calls for two of the elements that form a cluster; receiving a corresponding DOM in response to each of the asynchronous functionality calls; comparing DOMs including the corresponding DOM to determine whether a difference exists between the DOMs based on a predetermined threshold; upon determining a difference exists between the DOMs and the difference exceeds the predetermined threshold, associating the asynchronous functionality calls and the DOMs received in response to the asynchronous functionality calls with elements of a business function of the cluster, wherein the instructions cause the computing device to project the business function of the cluster for all webpage elements of the cluster without having executed Asynchronous JavaScript and extensible markup language (AJAX) calls for all the webpage elements in the cluster; and upon determining that no difference exists, ceasing to execute the asynchronous functionality calls.