There is now a feature in Window 10 called game bar that can record game running in the browser like Chrome and Brave. That is a good feature. Start the reocording by Win+G or Win+Alt+R.
However, when I compare with Chrome and Brave, which both originated from the same set of codes, they do not recorded in the same way. When part of the browser is moved outside the monitor screen, the part that is outside is NOT updated in Brave. On the opposite, Chrome does not have this problem.
Attached you can see in the two files screenBrave and screenChrome, the former one does not have its right part updated when recording.