# Wallaby Elixir cannot find element

**URL:** <https://forum.elixirforum.com/t/wallaby-elixir-cannot-find-element/42748>\
**Category:** Questions\
**Tags:** wallaby\
**Created:** [September 30, 2021, 8:09am UTC](https://forum.elixirforum.com/t/wallaby-elixir-cannot-find-element/42748 "2021-09-30T08:09:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![padjo](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/padjo/32/24341_2.png) [@padjo](https://forum.elixirforum.com/u/padjo)\
**Post date:** [September 30, 2021, 11:01am UTC](https://forum.elixirforum.com/t/wallaby-elixir-cannot-find-element/42748/3 "2021-09-30T11:01:01Z")

</div>

Thanks for the explanation, i usnderstnad at a conceptual level the problem i’m searching in the element not the form so callback with the form

looking at your github find/3 example here I cobbled together something that compiles and runs  
[https://github.com/elixir-wallaby/wallaby](https://github.com/elixir-wallaby/wallaby)

but i still get  
\*\* (Wallaby.QueryError) Expected to find 1, visible element that matched the css ‘.practice\_\_title’ but 0, visible elements were found

here is the code

@tag runnable: true  
test “select a practice --core test”, %{session: session} do  
login(session)  
|\> assert\_has(css(“.intro\_\_title”, text: “Scrum Essentials”))  
|\>find(css(“.practice\_\_title”, count: :any), fn(form) →   
form  
#|\> List.first

```
  |> Enum.at(4)
  |> IO.inspect()
  |> click(css(".practice__title"))
end)
|> IO.inspect()
:timer.sleep(9000) # mouse hasn't move to the element we want to click on

```

end

i don’t think i’m still grokking it , feel free to suggest pseudo or straigh code changes with explanations if you are so inclined/obliged. Well aware this is not your level . trying to get to a level of independence but it’s burning the clock. thanks

---

_[View the full topic](https://forum.elixirforum.com/t/wallaby-elixir-cannot-find-element/42748)._
