将IE网页的控制台日志存储在文件中

时间:2013-09-05 11:11:00

标签: vbscript

是否可以将任何IE网页的控制台日志存储在一个文件中,以后我可以根据我的验证要求进行解析?

1 个答案:

答案 0 :(得分:1)

您可以右键单击控制台并选择“全部复制”

IE Console

你得到这样的文字:

HTML1200: cnet.com is on the Internet Explorer Compatibility View List ('C:\Users\colinp\AppData\Local\Microsoft\Internet Explorer\IECompatData\iecompatdata.xml'). 
news.cnet.com
HTML1504: Unexpected end tag. 
news.cnet.com, line 45 character 2212
HTML1512: Unmatched end tag. 
news.cnet.com, line 118 character 11
HTML1514: Extra "<body>" tag found. Only one "<body>" tag should exist per document. 
news.cnet.com, line 118 character 19
HTML1512: Unmatched end tag. 
news.cnet.com, line 136 character 2605
HTML1512: Unmatched end tag. 
news.cnet.com, line 136 character 2605
SCRIPT438: Object doesn't support property or method 'stringify' 
adtechRichMediaLib_2_15_7.js, line 8 character 94381
TWITTER: Content Security Policy restrictions may be applied to your site. Add <meta name="twitter:widgets:csp" content="on"> to supress this warning. 
TWITTER: Please note: Not all embedded timeline and embedded Tweet functionality is supported when CSP is applied.