don't work "js click()" in user script on site yandex

38 Views Asked by At

I'm trying to simulate a mouse click on the central panel on the website https://translate.yandex.ru/ocr

I open devtools I use the following code

const b = document.querySelector('.dropBlock-dropMessage')

I see the element I’ll write further

b.click()

and nothing happens.

What am I doing wrong?

0

There are 0 best solutions below