I should add that .triggerAction(QWebEnginePage.Copy) almost does what's wanted. It copies the area of the HTML that the user has selected, and this can be pasted. The only problem is that any images that are within that selection disappear when pasted into another program or document.
↧