How to programmatically click on a non-button element using javascript? Or is it atleast possible in browsers like Firefox and Chrome?
How to programmatically click on a non-button element using javascript? Or is it atleast possible in browsers like Firefox and Chrome?
document.querySelectorAll('#front-chat-container div[role]')[0].click()
worked for me - to click a div element.