How to get selected by user text from webview?


#1

Hi! How to get selected (by user with mouse) text from webview with electron api? Or from webcontents?
I’ve read api reference, but couldn’t understand how to get text selected by user.