adjustSelection

Adjusts the current text selection starting and ending points in the focused frame by the given amounts. A negative amount moves the selection towards the beginning of the document, and a positive amount moves the selection towards the end of the document.

Example:

For a call of win.webContents.adjustSelection({ start: 1, end: 5 })

Before:

"Image

After:

"Image