When I use it from browser console, it works, but not from content.js. Why so? For example you can go to google.com and try this:
const input = document.querySelector('.gLFyf');
console.log(Object.getOwnPropertyDescriptors(input));
You will see object with some props. But when I do same thing from my extension, it's always empty. The input btw is not undefined or something. I also tried to add timeout in case if script works too fast, didn't help. I really need to use some functions from elements props for my extension.