title: Why doesn't webbrowser work in Visual Studio 2019?
body: <p>I wrote a simple application using webbrowser on winforms. Pages are loaded, but with some flaws, pages are displayed, but not so in Internet Explorer 11. Most java scripts do not work (and maybe all). Some sites give a warning that my browser is out of date, but I read that the webbrowser uses the built-in Internet Explorer in Windows. Why, then, does everything work in the Internet Explorer, and almost everything does not work in the webbrowser? IDE Version: Visual Studio 2019.</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.ComponentModel;
  using System.Data;
  using System.Drawing;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  using System.IO;
  using Microsoft.Win32;
  
  namespace WindowsFormsApp2
  {
      public partial class Form1 : Form
      {
          public Form1()
          {
              InitializeComponent();
          }
  
          private void Form1_Load(object sender, EventArgs e)
          {
              webBrowser1.ScriptErrorsSuppressed = true;
              webBrowser1.Url = new Uri("https://stackoverflow.com/");
          }
      }
  }
  </code></pre>