I'm going to select some text in a webpage using webbrowser and get the text to deal with. Could you give some clue?
I have tried injecting the JavaScript as below and invoke this script, but it does not work.
window.clipboardData.setData("Text", document.selection.createRange().toString())