我正在使用C# WebBrowser,有时当页面加载时(并不总是),我会得到以下提示:
An error has occured in the script on this page.
Line 1
Char 45774
Error Object required
Code 0
URL http://xxx.i_replaced_the_link_here.com/blah_BLAH_blah123
Do you want to continue running scripts on this page?
Yes / No我想继续,但我不能总是单击是按钮。
你觉得我能怎么修好它?
发布于 2011-11-04 21:20:38
可以将WebBrowser.ScriptErrorsSuppressed控件属性设置为true。这样你就不会得到任何错误。
https://stackoverflow.com/questions/8009575
复制相似问题