Comparing Web pages


This topic describes how to compare webpages using the Webpage Compare window.

Note

This feature is still experimental and may be unstable and very slow.

1. Starting a webpage compare operation

You can start an webpage compare operation from either the WinMerge window or a Command Prompt window.

From the WinMerge window

Click FileOpen. Specify the two or three URLs you want to compare in the "Select File or Folder" dialog and select the Webpage menu item from the Compare button's drop-down menu.

Select Files or Folders window

From a Command Prompt window

Run WinMergeU.exe, which is in your WinMerge install directory. In your command arguments, include two or three URLs of the web pages you want to compare and specify the /t webpage command line option. For more information about using the command line, see Command line.

Example 1. Command line

"C:\Program Files\WinMerge\WinMergeU.exe" /t webpage https://example.net https://example.com


2. Webpage Compare window

Webpage Compare window

When the Webpage comparison window is displayed, the Webpage menu will be added to the menu bar. The menu items in the Webpage menu are as follows. Some of the same functionality as these menu items is available in the Location Pane.

2.1.  Webpage menu

View Differences

Enables or disables text difference coloring for webpages.

2.1.1.  Compare menu

Screenshots

Converts the currently displayed range of web pages into images and compares them in the image comparison window.

Full Size Screenshots

Creates images of the entire area of web pages and compares them in the image comparison window.

HTMLs

Compare the HTML contents of web pages in the file comparison window.

Texts

Extracts text parts of web pages and compares them in the file comparison window.

Resource Trees

Compare resource trees of web pages in the folder comparison window.

2.1.2.  Size menu

Fit to Window

Fits the display size of the web page to the size of each pane.

Width x Height

Changes the display size of the web page to the specified size.

2.1.3.  Event Sync menu

Enabled

Enable or disable the synchronization function of events such as Scroll and Click.

Scroll

Enable or disable scroll synchronization.

Click

Enable or disable click synchronization.

Input

Enable or disable input synchronization.

GoBack/GoForward

Enable or disable synchronization of going back to the previous page or forward to the next page.

2.1.4.  Clear Browsing Data menu

Disk Cache

Clears only disk cache in browsing data.

Cookies

Clear only cookies in browsing data.

Browsing History

Clears only browsing history in browsing data.

All Profile

Clears all browsing data.

2.2.  Current limitations

  • Webpages that use the currently deprecated FRAMESET element cannot be compared.

  • The contents within the IFRAME element may not be compared or events may not be synchronized.

  • Comparing web pages with very different content may take a lot of time.