/// <summary>
 /// Initializes a new instance of the <see cref="WebBrowserNavigationMonitor"/> class.
 /// </summary>
 /// <param name="environment">The <see cref="CommandEnvironment"/> in which the navigation should be monitored.</param>
 public WebBrowserNavigationMonitor(CommandEnvironment environment)
 {
     this.environment = environment;
 }