This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-09
Channels
- # announcements (4)
- # babashka (25)
- # beginners (11)
- # calva (32)
- # clj-kondo (5)
- # clojure (130)
- # clojure-dev (11)
- # clojure-europe (17)
- # clojure-nl (1)
- # clojure-norway (96)
- # clojure-spec (1)
- # clojure-uk (3)
- # clojurescript (9)
- # conjure (2)
- # cursive (8)
- # datalevin (1)
- # etaoin (14)
- # ghostwheel (2)
- # hyperfiddle (13)
- # joker (2)
- # leiningen (82)
- # malli (3)
- # pathom (4)
- # polylith (12)
- # releases (3)
- # spacemacs (7)
- # sql (3)
To add further context. I am being told the radio button is not clickable because the click is going to another div. Is there a way to overcome this? The radio button is on a modal dialog.
@U4C3ZU6KX you have not responded to my answers to your other questions above yet. Did they help?
I moved on ( tried latest version etc - I only have ssh access no x is available on those nodes.) so hence my question here .
Is there a way of focusing on an element then clicking it? I.e. find it and then click it.
If I use (e/exists? driver {:tag :input :id "id4"})
it return true. So I don't know why I can't click it.
could be some element is overlapping it, which could be temporary, did you try introducing a wait?
What I meant was a div might be on top of the radio button while the dialog is being constructed (maybe by some javascript). Did you try a wait?
The issue is that rather than using a simple radio button - they have mashed the view with divs and spans in order to make it "look good", Clicking on a label seems to work. Thanks for you efforts.
You are welcome! It can sometimes be tricky to simulate some user interaction with the complexities of webdrivers, browsers, and web pages themselves. Since etaoin is a thin wrapper over webdriver, you can often find solutions/ideas by searching the web for what you are trying to do or are stuck on. Ex. googling for "webdriver element click intercepted".