Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 536 Bytes

File metadata and controls

21 lines (13 loc) · 536 Bytes

QWebEngineView

1、获取Cookie

运行 GetCookie.py

通过QWebEngineProfile中得到的cookieStore并绑定它的cookieAdded信号来得到Cookie

GetCookie

2、和Js交互操作

运行 JsSignals.py

通过qwebchannel.jsQWebChannel.registerObject进行Python对象和Javascript的交互

具体看代码中的注释

JsSignals