Hello developers,
In my extension the content script clicks a button in the page when I press a shortcut.
The website uses React.
After loading the page, my extension can't click a button in the React app, nothing happens.
However, if I manually click inside the React app the first time, then the extension can click the button and the button reacts.
I tried clicking on the React app first from the extension and then clicking the button, but it doesn't work. Also tried calling focus() on the element.
Any tips how could I fix this?