selenium crashing chrome code example
Example: load webpage without crashing C#
public void LoadDocument(string html, string link)
{
string html = "<html><head>";
html += "<meta content='IE=Edge' http-equiv='X-UA-Compatible'/>\n" +
"\n<body>" +
"<iframe id='video' src='{0}' width='600' height='600' frameborder='0'></iframe>\n" +
"</body>";
webBrowser1.DocumentText = string.Format(html, link);
}