Fork me on GitHub
#etaoin
<
2022-12-02
>
Adrien Blavier15:12:54

Hi, I’ve been trying out this awesome webdriver implementation. Been testing it out in the REPL. Great so far. But when loading the following code snippet I always get the same error:

Adrien Blavier15:12:02

Thanks in advance

borkdude15:12:19

@adrien615 You can fix this by requiring: babashka.process.pprint

Adrien Blavier15:12:00

Thanks, will have a go

Adrien Blavier16:12:49

Yep, that did the trick thx

borkdude15:12:12

@lee If etaoin is already requiring pprint somewhere, maybe etaoin could do this. babashka.process doesn't do this automatically since loading clojure.pprint isn't always desired

lread15:12:07

Interesting @adrien615, thanks for sharing! @borkdude, thanks for the solution, seems harmless enough to do for etaoin to do this, yeah? I'll make an issue/fix.

👍 1
borkdude16:12:31

yeah I think so

jjttjj16:12:38

Not super related to etaoin specifically but I've been wondering about using a etaoin driven browser as my main browser so i can just have a repl handy and make commands to control it. I've noticed though some sites (google so far) detect that you're using a webdriver browser and block you or captcha you to death. Are there ways to avoid sites detecting this? Are there major security issues with doing this? Are there ways to mitigate them?

borkdude16:12:18

probably mess with the user agent?

jjttjj16:12:41

good call, should have tried that first

borkdude16:12:41

huh, that doesn't make sense does it

borkdude16:12:04

maybe it does ;)

jjttjj16:12:44

haha I'll do some more experimenting soon and report back. Just been in the back of my mind for a bit

lread17:12:19

Yeah maybe user-agent is useful here. Looking forward to learning from your explorations @jjttjj!

👍 1