I think .HTML might be your closest option. However I think you want not only the DOM, but also contents of any CSS and Javascript files as well.
This might be easier to do at the HTTP level, perhaps by writing all the files served for each page to a directory and then comparing the contents of the two directories. If you only need to do this a few times, then something like Fiddler2 and the 'Traffic Differ' addon might suffice nicely as it will provide a hash of each response received by the browser. On Nov 29, 2:29 pm, carmen3lia <eliaol...@gmail.com> wrote: > Is there a way to get the entire DOM from a web page?? > > I need to enter to a page X connected to a server y, and enter to the > same page X connected to the server X and compare that is the same > page but in differents servers, I thought in get the DOM and compare > each one. > > Is there another way to do that? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com