--- a/WebBrowser/WebBrowserPage.py Thu Aug 25 17:21:25 2016 +0200 +++ b/WebBrowser/WebBrowserPage.py Fri Aug 26 18:56:54 2016 +0200 @@ -327,3 +327,17 @@ """ self.view().mainWindow().javascriptConsole().javaScriptConsoleMessage( level, message, lineNumber, sourceId) + + ################################################## + ## Methods below implement compatibility functions + ################################################## + + if not hasattr(QWebEnginePage, "icon"): + def icon(self): + """ + Public method to get the web site icon. + + @return web site icon + @rtype QIcon + """ + return self.view().icon()