【发布时间】:2020-10-20 09:15:19
【问题描述】:
我想知道是否有任何方法可以隐藏从控制台生成的“未捕获的 SecuriyError。我相信错误消息是由网站提供的,但我不确定。我的程序按预期工作,但它只是在运行时不断出现错误消息,这很烦人。作为旁注,我在 PYCharm 中运行时没有看到任何这些错误。
任何帮助都会很棒!谢谢!
34 out of 37 completed
[0630/015306.733:INFO:CONSOLE(11)]
"Uncaught SecurityError: Blocked a frame
with origin "https://ws2.osfi-bsif.gc.ca"
from accessing a frame with origin
"https://www.osfi-bsif.gc.ca". Protocols,
domains, and ports must match.", source:
https://ws2.osfi-
bsif.gc.ca/WebApps/FINDAT/DTIBanks.aspx?
T=0&LANG=E (11)
[0630/015307.079:INFO:CONSOLE(11)]
"Uncaught SecurityError: Blocked a frame
【问题讨论】:
标签: python selenium iframe console