应用QWebEngineView,怎么获取iframe中的内容,从而获取整个网页的源代码

https://doc-snapshots.qt.io/q...

这个里面提到

All child frames are now considered part of the content, and only accessible through JavaScript.

那应用QWebEngineView,怎么获取iframe中的内容,从而获取整个网页的源代码呢?

阅读 5.2k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进