pythonguis-examples
pythonguis-examples copied to clipboard
The browser sample can't open the target="_blank" link. Is there any way to solve it?thanks
I also found this issue.
I found another PyQt5 tabbed browser that can handle target="_blank" links. It'll open a link in a new tab if the link has target="_blank". https://github.com/qutebrowser/qutebrowser
You need to handle QWebEnginePage.acceptNavigationRequest to solve it.