A
A
AHDPEE4KA2018-03-16 20:29:55
JavaScript
AHDPEE4KA, 2018-03-16 20:29:55

Click on div element chrome extension how to do?

You need to somehow simulate a click on a specific element on the website https://cs.money/ (in div#inventory_bot). The problem is that when you try to "click" something in the console, it says "hidden" and the click does not go through. I tried to do this: The problem, it seems, is not in JQuery, nothing changes on pure JS
$('#inventory_bot div')[0].click()

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karpov, 2018-03-16
@Inkognitoss

$('#inventory_bot div').get(0).trigger('click');
https://jsfiddle.net/23za7f5s/5/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question