Patent attributes
According to one embodiment, a method, computer system, and computer program product for webpage replay is provided. The embodiment may include acquiring one or more commands each indicating changes of at least one virtual Document Object Model (DOM) node of a virtual DOM of a webpage corresponding to a timestamp for a session. The embodiment may include determining one or more virtual DOM differentials corresponding to respective timestamps for the session based on the one or more commands and a first data dictionary. The first data dictionary is created based on a base virtual DOM of the webpage including a plurality of virtual DOM nodes. The embodiment may include generating one or more patched virtual DOMs of the webpage corresponding to respective timestamps for the session. The embodiment may include replaying the webpage for the session based on the base virtual DOM and the patched virtual DOMs.