Fork me on GitHub
#etaoin
<
2021-12-22
>
lsenjov02:12:43

I'm assuming you're trying to run jquery? What do you expect to be bound to $ ?

lsenjov02:12:07

The error is from the raw js not executing properly, not from anything etaoin is doing

lsenjov02:12:36

(at least, that's what it looks like)

lsenjov02:12:41

Basically, run it in the console first and see what gets spat back out

lsenjov02:12:24

Or use etaoin's selectors to move the mouse over the element, rather than trigger it through jquery

lsenjov02:12:32

Ah I saw the cross post. When you ran it in the console, did you do it through the automated browser?

lsenjov02:12:51

Or through your usual browser?

Steve H15:12:05

Hello @U24QP2D4J, yes I'm trying to run jquery. Since the element I'm trying to interact with is invisible, I'm reading that using js/jquery is best. I tested the jQuery script inside the automated chrome browser. I guess my most important question is, does jQuery work with etaoin and if so, how can I execute a jQuery script using etaoin?

Joshua Suskalo15:12:01

@steveholt04 You might've missed this, but someone responded to you in #clojure explaining that the Chrome dev console binds $ to document.querySelector which would make it work "as expected" from the dev console even if you do not have jQuery installed in your website.

Steve H16:12:09

Gotcha, thanks @U5NCUG8NR

👍 1