Can't edit Youtube video title using Chrome extension

Solution 1:

what about this

document.querySelector('h1.title.style-scope.ytd-video-primary-info-renderer').innerText="xyz"