setSelectionRange not working

It won’t select the specified range. But Safari will.

I’m running Brave Version 1.68.141 Chromium: 127.0.6533.120 (Official Build) (arm64) on macOS Sonoma.